[syslog-ng] File permission in syslog-ng

Balazs Scheidler bazsi at balabit.hu
Tue May 1 13:28:49 CEST 2012


On Tue, 2012-04-10 at 20:58 +0530, Ankit Mahawar wrote:
> 
> Hi All,
> 
> If the file permission is not specified in syslog-ng.conf file then it uses
> the file permission as default which is 600 .
> 
> I noticed it and want to confirm this behavior of syslog-ng .

Yes, 0600 is the default value for perm.

> Also if we define the permission as perm(644) in options tag of
> syslog-ng.conf then does that permission is set for all the files ?

Yes. if a destination file lacks perm() it "inherits" the global
setting.

-- 
Bazsi




More information about the syslog-ng mailing list