[syslog-ng] Setting permissions on log files
Balazs Scheidler
bazsi at balabit.hu
Mon Feb 19 17:15:57 CET 2007
On Mon, 2007-02-19 at 01:45 +0000, Bryan Henderson wrote:
> With the 'file' destination, Syslog-ng modifies the ownership and
> permissions of the file when it opens it. There are configuration
> file options to choose what it sets them to, but AFAICT, no way to
> have Syslog-ng just leave the files as it finds them.
>
> I prefer to maintain permissions and ownership separately; I set them
> when I create the file and expect them to stick. Could there be a
> configuration file option for that?
>
IIRC, you can use -1 for various options, which means "do not touch".
But I would need to test it. The code in the C part is there, the only
question that remains whether the parser accepts "-1" in the place of
owner/group/permissions.
--
Bazsi
More information about the syslog-ng
mailing list