On 2011-02-17 13:41:14 +0300, Sergey B Kirpichev wrote:
> tags 613764 +pending
> thanks
> 
> > The log file created by monit:
> > -rw-r----- 1 root root 322 2011-02-17 01:57:53 /var/log/monit.log
> 
> Correct.
> 
> > As usual, if the permissions are 640, the group should by adm, not root.
> 
> Why?  It's intentional behaviour.

So that the admin can read the log file without logging as root.
See the other log files (auth.log, boot, daemon.log, debug, dmesg,
kern.log, messages, syslog, user.log). The log files that have the
root group are readable by everyone.

Is there any reason why monit should behave differently?

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to