vsftpd, virtual users and permissions. Avoid using chmod 777?
- by Jakobud
I am running vsftpd with Virtual Users (managed through a MySQL db). Each users home/default directory is owned by vsftpd:vsftpd.
I need to give a user read/write permissions to some website files, owned by apache:apache so they can make some changes. I did a bind mount for the web directory to a directory in the ftp user's home/default directory. When logging in, the user is not able to write to the web folder, unless I set files to 777.
Is it possible to set this up with making the directory and it's files 777? The web directory needs to be apache:apache in order for apache to work with it.