HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Logcheck Permissions Problems (http://www.howtoforge.com/forums/showthread.php?t=15368)

Drek 6th September 2007 17:31

Logcheck Permissions Problems
 
It started a week or two ago, I started getting an error when logcheck ran. I'm afraid I deleted the emails without thinking, so I don't know what the error was, although it had something to do with logtail. Anyway, from what I could find through Google, it looked like a permissions problem, so I changed the permissions on /var/log to 644 and the permissions on auth.log* and xferlog* to 640 and 600 respectively.

Now however logcheck couldn't open any of the files to read them. Now the only way I can get logcheck to work is to set permissions on /var/log to 777 recursively (except for auth.log* and xferlog*). However, now proftpd refuses to write to it's logs because it doesn't like the permissions on it's folder. I don't like them either.

Does anyone have any idea what could be going on?

falko 7th September 2007 15:43

Try to change the permissions of all log files (not dorectories!) to 644.


All times are GMT +2. The time now is 06:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.