[syslog-ng]Changing Permissions on /dev/null

Balazs Scheidler bazsi@balabit.hu
Wed, 5 Feb 2003 10:45:22 +0100

On Tue, Feb 04, 2003 at 01:53:29PM -0800, Nate Campi wrote:
> On Tue, Feb 04, 2003 at 02:31:51PM -0500, Brian E. Seppanen wrote:
> > 
> > Is there some way to have it leave the permissions of /dev/null as it 
> > previously was?   I toss messages for a page queue run that is done every 
> > 10 seconds.   I don't want to drown in those messages, and I don't want to 
> > waste the disk space.  I also want the queue processed as fast and as 
> > often possible.
> See if you can have the daemon log to local7.notice or something that
> you don't capture with syslog-ng. This way you don't even have to log it
> to /dev/null.

perm(-1) should do the trick. 

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