Hi,

* Hilko Bengen [Tue, Jun 28, 2005 at 04:24:03PM +0200]:
> >> The log files account.log and debug.log have the execute bit set,
> >> which is unneeded.
> >
> > And here's the patch.
> 
> This could also be acheived by setting a umask. I have never seen your
> problem -- how do you start ulog-acctd?

Last time the problem occured the daemon was lauched by the initscript
after installing the package via apt-get as root. I don't remember
doing anything to change the umask from whatever the default could be
(the current umask is 0022).

I think the correct approach to text file creation is to ask for
"0666" mode (or stricter) and let the umask restrict it further
-- no point in asking for the execute bit at file creation for a log
file.

Cheers,

Laurent.

Attachment: signature.asc
Description: Digital signature

Reply via email to