I'm trying to get ftp running locally to update a drupal install. I just need the FTP user to have full access to a directory and all subdirectories.
I have done /usr/sbin/setsebool -P ftp_home_dir 1 and then restarted vsftpd
I have chowned all files as user:user
I have chmod 777'ed (I'll change it back) the folder and subfolders
I still cannot modify files in /var/www while I can modify things in /home/user.
here's my vsftpd.conf:
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
xferlog_std_format=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
I've tried mounting the directory with mount --bind into the home directory. I've also tried changing the root directory to /var/www - neither worked. Is there anything else I'm missing?