vsftpd, virtual users and permissions. Avoid using chmod 777?
Posted
by
Jakobud
on Server Fault
See other posts from Server Fault
or by Jakobud
Published on 2013-10-28T19:05:56Z
Indexed on
2013/10/28
21:56 UTC
Read the original article
Hit count: 236
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.
© Server Fault or respective owner