I use virtualmin on my system. One of my colleagues screwed up permissions on the Apache log files. Files are stored under /var/log/virtualmin
Apache is able to write to the log files well.
Users get permission denied while trying to access any log file in there.
I set the above directory, recursive, sticky to 1644. Apache is still able to write to it, but users can't read it. See below for an example of the listing:
under /var/log
:
drw-r--r-T+ 2 root root 16384 May 11 00:49 virtualmin
one file under /var/log/virtualmin
-rw-r--r-T 1 mydomain apache 1627831 May 11 01:00 mydomain.com_access_log
Am really going nuts with this. Any help will be appreciated.
Thanks a ton!