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.



migrated from stackoverflow.com Dec 4 '11 at 8:21

This question came from our site for professional and enthusiast programmers.


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.

  • that was exactly the issue. tnx! – user1047737 Dec 3 '11 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 '11 at 20:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.