I managed to configure my Raspberry Pi as an FTP server with ProFTPD. The only problem is, I can´t upload and rename files and Windows Explorer says:
350 File or directory exists,ready for destination name
550 Rename xyz permission denied
Now I´ve read I have to chown
this folder to the FTP user, but this does not work.
I have tried:
sudo chown -R pi /var/www (my default pi account)
sudo chown -R piftp /var/www (the ftp account)
sudo su
chown -R root /var/www
All I´m getting is
chown:changing ownership of ... : Operation not permitted
I already chmodded this directory to 777.
/var/www
is mounted from a vfat
volume on my external hard disc. Looking at it with ls -l
I see all files and folders have owner root
and group root
and all of these folders have permissions drwxr-xr-x
.
Can someone please help?
root
doesn't even exist.ls -l
give for the failing file or folder? And your "All I'm getting is chown:changing ownership of ... : Operation not permitted" applies to all files and folders, right? Or do some succeed? If some do succeed, is the file or folder that is failing any special? Like maybe that is a file that has been uploaded by Windows Explorer with some temporary name?