1

I have a problem with vsftpd on Debian: I can upload files if the chmod of all folders is 777, but with chmod 755.

Please help.

vsftpd.conf:

local_umask=022
anon_umask=0755
file_open_mode=0755

1 Answer 1

1

Sounds like the user you're logging in as has no ownership rights of the folder you're accessing.

FWIW 777 isn't neccessary as you don't need execute (just read/write)

You could possibly put the ftp user in the same group as the owner then chmod g+rw or you could chown -R ftpfolder ftpuser.ftpuser but consider the potential implications of other users that may need access.

2
  • that was exactly the issue. tnx!
    – user1047737
    Dec 3, 2011 at 18:40
  • Great! BTW please mark this answer as accepted so it is removed from the unanswered question list. meta.stackexchange.com/questions/5234/…
    – M_M
    Dec 3, 2011 at 20:37

You must log in to answer this question.