FTP Server: STOR /somefile: 550 Access is denied
OK, I've setup first pure-ftpd and then proftpd on Ubuntu Feisty.
Before, I added a user 'testuser', his home directory currently has dwrxrwxrwx permissions. Connecting via several FTP clients works, and I get the contents of /home/testuser listed. Downloading works, too, as long as there are read permissions for testuser.
The problem is, when I try to upload any file, I get an "Access is denied" message.
Upon connecting or disconnecting via FTP, in /var/log/messages, there are appropriate messages like 'user testuser logged in/off', but not for those "Access is denied" events.
Being connected via ssh BTW, testuser is able to create files and folders in his home directory.
root, via FTP, is allowed to create files in his home folder.
For pure-ftpd, it's possible to create an FTP user using "pure-pw useradd ...", which I did (using the same user name, password, and home folder). That didn't make any difference.
For proftpd there should'nt be the need to configure anything extra.
proftp is running under the group nogroup, so I'd testwise chgrp'ed testuser's homefolder to nogroup. Didn't make any difference.
I've now tried quite a while to get rid of this "Access is denied" problem, and would appreciate if someone had some tips or ideas.
Last edited by robbbert; 05-04-2007 at 10:59 AM.