[syslog-ng]File Permissions Not Being Set

Gregor Binder syslog-ng@lists.balabit.hu
Wed, 19 Mar 2003 16:57:30 +0100


Collin Lichtenberger on Thu, Mar 13, 2003 at 12:15:02PM -0900:

Collin,

> Even though I have the permissions set as something else it still
> creates files with 600 permission instead of 644 like it's instructed.
> (This is for any file it creates.)  Though syslog-ng will create the
> file in the correct directories.  I am thoroughly confused and would
> appreciate any help.  Thank You.

unfortunately, syslog-ng doesn't honor explicit mode specifications in
a way, that would override the umask in your startup-script or inherited
from the parent.

You can set useful modes on logfiles only if you are willing to loosen
your restrictive umask to something like 022.

Regards,

-- 
 ____ ____ 
/  _/| -  >  Gregor Binder <gb@(rootnexus.net|sysfive.com)>
| / || _\ \
\__ Id: 0xE2F31C4B Fp: 8B8A 5CE3 B79B FBF1 5518 8871 0EFB AFA3 E2F3 1C4B