Error: ftp_rename(): Permission denied.
-
@Quazz What does that mean? I spot login failed? Could you explain more? I am super new at this. I have checked the username and passwords and they all match.
-
@Buzer1 At the top of the screenshot it talks about FTP login failing. It tries to rename afterwards but since it’s not logged in it obviously fails.
So, you need to check out your FTP credentials, the Wiki should be very helpful to help remedy this.
The error is very clear, the login does not work.
If you have changed the password in /opt/fog/.fogsettings you need to run the installer again for the changes to take effect.
-
@Quazz I did this and am uploading an image now
You can enable all permissions (just for troubleshooting) on the /images directory recursively like this:
sudo chmod -R 777 /images
How do I do this portion that you mentioned?
If you have changed the password in /opt/fog/.fogsettings you need to run the installer again for the changes to take effect. -
@Buzer1 Is this a recent install? How to rerun the FOG installer script depends on where you store the installation files.
-
@Quazz Not recent. We were imaging desktop pc’s just 3 months ago, but now it all of a sudden will not upload.
-
@Sebastian-Roth @Quazz Actually running Fog 1.2.0 on Ubuntu 14.04
-
@Quazz I can download an image to a pc, but cannot upload an image. Any ideas on that?
-
@Buzer1 Checked the FTP credentials? Download and upload are two completely different things. If one works it does not mean the other is working as well. Please go through the mentioned wiki article and thouroughly check your FTP credentials!
-
Buzer1 and I fixed the issue, “write_enable” was commented out on the vsftpd.conf file and uncommenting it seemed to fix our upload issue. I believe the issue was caused when I upgraded the system from Ubuntu 12.04 to 14.04 and I had run into issues with vsftpd and forgot to check on it during the installation process and had to reinstall it at some point in time.
-
For future readers, the below posted link to the “Troubleshoot FTP” wiki article contains the needed vsftpd configuration files that FOG needs, both for Debian and RHEL variants. The FOG installer automatically sets these up for you on a fresh install with a fresh OS. The OP’s problem was caused specifically by an OS migration from Ubuntu 12 to Ubuntu 14.