permissions on /var/log/messages

walter harms wharms at bfs.de
Mon Mar 2 17:01:21 UTC 2009



Denys Vlasenko schrieb:
> On Monday 02 March 2009 07:03:53 am Hamish Moffatt wrote:
>> I'd like /var/log/messages to be readable by non-root users. syslogd.c
>> uses device_open to open the file though and it has the permissions
>> hardcoded to 0600.
>>
>> I can't really see why it uses device_open... nor a good solution.
> 
> I propose this patch.
> --

would it be sufficient to use 0644 instead of 0666 ?

just my 2 cents,

re,
 wh


More information about the busybox mailing list