You should add your account to the 'apache' group:
sudo usermod -a -G apache chetan
and then change the group for the /var/www/html folder to 'apache':
http://www.rackspace.com/knowledge_center/article/how-to-add-linux-user-with-document-root-permissions
sudo usermod -a -G apache chetan
and then change the group for the /var/www/html folder to 'apache':
sudo chgrp -R apache /var/www/html
More info:
http://www.rackspace.com/knowledge_center/article/how-to-add-linux-user-with-document-root-permissions
No comments:
Post a Comment