permissions on /var/log/messages

Denys Vlasenko vda.linux at googlemail.com
Mon Mar 2 14:25:19 UTC 2009


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.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.patch
Type: text/x-diff
Size: 1092 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090302/2db5c1a0/attachment.bin>


More information about the busybox mailing list