I'm trying to delete a file. I know what the issue is, I just don't know how to set the permissions correctly.
My current setup is Ubuntu 10.10 Netbeans and upload via FTP to my development server.
These are the steps I did in order to get Apache2 and VSTPD
- set up vsftpd for umask 0027 (/etc/vsftpd.conf) [local_umask=0027]
- create www-users group (groupadd www-users)
- add
linux_server_userto group (usermod -a -G grouplinux_server_user) - Set apache to run as www-users group (httpd.conf)
- chgrp www-users /var/www
- chmod 2775 /var/www
I'm guessing I need to give apache permission to write over the files that I upload from the FTP. How do I accomplish this?