i can suggest
chown -R root.apache /home/www.html
find /home/www/html -type f -exec chmod 664 {} \;
find /home/www/html -type d -exec chmod 2775 {} \;
---
putting g+s will make any new file with apache as group.
---
now add your editors / webmasters in apache group.
make sure FTP creates 664 (file) and 775 (directory) by default.
I will suggest to use secure copy or WinSCP in place of FTP.
|