[syslog-ng] messed up permissions on /dev/null destination on solaris

Tony Earnshaw tonye at billy.demon.nl
Tue Oct 18 01:05:30 CEST 2005


su den 16.10.2005 Klokka 11:39 (-0700) skreiv Nate Campi:

> When using /dev/null as a destination on Solaris 8 (sparc) with
> syslog-ng 1.6.7 the perms of /dev/null get messed up:
> 
> $ ls -l /dev/null
> lrwxrwxrwx   1 root     other         27 Apr 19  2003 /dev/null -> ../devices/pseudo/mm at 0:null
> $ ls -l /devices/pseudo/mm at 0:null
> crw-r--r--   1 root     root      13,  2 Oct 16 18:27 /devices/pseudo/mm at 0:null
> 
> I thought this was addressed at some point, was that only on Linux
> perhaps?

I'm *sure* I remember doing somesuch on SCO Open Server 5.0 in 1996 (or
was it AT&T SVR4?) It's always surprised me pleasantly since on RH
Linux, (been using it since 7.2) that I *can't* wipe out /dev/null by
writing to it as root. But then again, you can't compare an Alfa Romeo
147 with a 33 boxer.

--Tonni

-- 
Mail: tonye at billy.demon.nl
http://www.billy.demon.nl


More information about the syslog-ng mailing list