[syslog-ng]File permissions not being honored

Balazs Scheidler syslog-ng@lists.balabit.hu
Sat, 20 Mar 2004 17:01:46 +0100


2004-03-19, p keltezéssel 15:08-kor Chris Josephes ezt írta:
> I have the following destination directive:
> 
> destination d_user   { file("/var/log/user" perm(0644)); };
> 
> But, syslog-ng sets the file permissions to 0600.
> 
> I'm using version 1.4.17
> 
> Is my directive formatted incorrectly?

your umask probably restricts the permissions set by syslog-

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1