I have an Linux server running Ubuntu Jaunty. I have successfully set up an FTP server for the user 'fileserver' using this configuration in proftpd.conf:
<Global>
<Limit ALL>
DenyAll
AllowUser fileserver
</Limit>
</Global>
I this allows only the 'fileserver' user to login, and nobody else. I am able to upload files fine. This is what I want so far. The problem is, I cannot edit, overwrite, delete or move any files. I would like to have full, unrestricted access when I log in. How can I do this?
I've seen this ProFTPD tutorial, but I still can't figure out how to allow a user to have all the permissions, to enable deletes and edits.
From a quick read of the docs on limits, your limit configuration looks like it should do what you want. The problem is likely file system permissions.
You may want to read up on the mode and umask settings here. ProFTPD creates files with a base mode of 666 (read/write/no execute). The umask setting is used to further restrict the permissions specified by the mode. Check your .conf for a umask setting that may be restricting permissions and preventing you from overwriting, moving or deleting files.
example:
If there is any umask setting in the .conf file, try commenting it out and upload a file, then verify the file system permissions on it and experiment from there. Good luck.
You could check the ownership & file permissions on the fileserver user's home directory (or FTP directory, if this is different)
Apparently also check to see that the fileserver login owns the folder(s).
This from an accepted answer to a similar question on another certain IT community site:
Code Snippets