I have set up vsftpd for private FTP. Only authenticated users in the
ftp group can login.
Also, every user is chrooted to its home directory (
I can log in, browse, download, but I'm not allowed to upload files. I get
550 Access is denied message from Windows Explorer
In order to tweak I did the following:
I made sure that the directory is user-writable (
chmod g-rwx o-rwx u+w -R /home/username), I chose to do g-rwx otherwise it could be accessible via SSH by people in the
users group that don't get chrooted. I made sure that directory and children elements are owned by user (forced
chown -R as root) but they didn't help.
I found no useful thing in
/var/log/messages file. I believed that vsftpd runs as the logged in user and I found confirmation running
What kind of permission problem could cause this behaviour? If I go with SFTP with the same user I can do everything I want!