On Mon, 2 Mar 2009, Denys Vlasenko wrote:

> 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.

I don't really like that patch :(
0666 file permissions is way out.
Debian has that at 0640, and that's how long I would go too.
Could be made configurable, though.


Cheers,

-- 
Cristian
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to