[mw-devel] MW3 r1029 - trunk

Andrew Price welshbyte at sucs.org
Wed Apr 2 22:45:26 BST 2008


On 02/04/08 22:27, Steve Hill wrote:
> welshbyte at sucs.org wrote:
>> Slacken permissions on /var/lib/mw so as not to break access() calls.
>> Maybe we should use euidaccess() instead?
> 
> Probably...  Setting mode 751 might be better, so people in the mw group 
> can poke around the logs.

It already has:
%attr(755,mw,mw) %dir /var/log/mw

>   (and 640 for the log itself)

perms.c:348:if ((file=open(LOGFILE,O_WRONLY|O_CREAT|O_APPEND,0600))<0)

Feel free to frob that one ;-)




More information about the mw-devel mailing list