[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Ping: [PATCH] make pidfile permissions 644, not 666
From: Ian Wienand <ianw () vmware ! com>
Date: 2011-08-29 17:42:12
Message-ID: 4E5BCF74.9080901 () vmware ! com
[Download RAW message or body]
On 08/27/2011 09:04 PM, Denys Vlasenko wrote:
> On Thursday 25 August 2011 00:29, Ian Wienand wrote:
>> ping on this ... I still think there's no valid reason to create a
>> pidfile with 666 permissions.
>
> Can't use set proper umask?
I can, but I believe the standard way for a daemon to run is to set
its umask to zero & explicitly set file permissions internally -- so
it doesn't rely on an external umask and possibly end up writing
world-writable pid files, for example.
Someone else said they rely on the behaviour and it is not a huge
issue for me.
-i
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic