I have a script that needs to read /var/log/exim_mainlog. The script does not run as root so it can't read it because exim_mainlog is -rw-r-----. I changed it to -rw-r--r--. My script works great now. But within a day or so cPanel will reset back to -rw-r----- again. How do I stop this? How to I make cPanel never reset permissions for exim_mainlog? Or get exim to log the same information to a second log file that does have 644?
Last edited: