chmod of some pidfiles

Jille jille at quis.cx
Wed Apr 16 13:12:23 UTC 2008


Hello,

Today I found out some pidfiles of 'system daemons', have a 'weird' chmod.

[quis at istud ~]$ ls -l /var/run/cron.pid
-rw-------  1 root  wheel  4 Mar  1 19:25 /var/run/cron.pid

Can somebody tell me why it is 0600 ?
I don't think it will harm if it is 0644 ?

I think this is only useful if the security.bsd.see_other_uids sysctl is 
set to 0.

-- Jille


More information about the freebsd-current mailing list