Changing files and folders so they are accessable by user and apache as well

Follow the commands below to change files and folders so they are accessible to users and the apache group as well by adding the user to the apache group and assigning full read, write, execute privileges to user and apache group.
cd /var/www
find . -type d | xargs chmod 775
find . -type f | xargs chmod 664
chown -R paul.apache *

I assume paul is the user


Didn't find what you were looking for? Try these links:

You can follow any responses to this entry through the RSS 2.0 feed.