Hi, Frank Gevaerts wrote: > > Granted. Is there a common way or best practise to get the proper > > group for log files? > > The adm group seems to be the usual.
On Debian, yes. Ob BSDs it's IIRC wheel. > I can't find a proper (normative) reference of the default groups in > debian unfortunately, Oh, that's easy: It's in the Debian Policy at https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.2 -- then just follow the pointer to /usr/share/doc/base-passwd/users-and-groups.txt.gz I suspect my question was not asked properly, but since the adm group is already mentioned I rather wondered how to make sure the log file is created with group adm rather than which group should be used for that. What I wonder is if there is any other way then explicitly "chown()" the file when I've written to it? (In Perl preferably.) Something like umask, just for group, similar to newgrp, but without spawning a new process. I'll ask in the Debian Perl Group's IRC channel. Regards, Axel -- ,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

