I've got clear centOS 5.x system, I've created an user and when I want do go into
/var/log/httpd i get access denied. after typing
ls -la i get the owner of httpd catalog is root. Can I change owner to my user? Or how can I access this folder to watch apache logs?
The permissions are correct on the folder. You can change the ownership of the folder to root:apache and also add yourself to the apache group.
then open the /etc/group file and add the following to the group 'apache'
Hope that solves the issue.
|show 1 more comment|