On Tue, Sep 02, 2003 at 12:37:21PM -0700 or thereabouts, Ed Alley wrote: > > > On Tue, 2003-09-02 at 14:32, Ed Alley wrote: > >> I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null get > >> mysteriously changed by some unknown process to: > >> > >> crw------- 1 root wheel 2, 2 Sep 2 11:20 /dev/null > > > On Tue, 2003-09-02 Adam McLaurin wrote: > > That's very strange indeed. Have you tried using chflags to prevent the > > permissions from being changed? This should do the trick, albeit a dirty > > hack. > > Sorry, I didn't mention that I tried setting flags on /dev/null: > > chflags schg /dev/null > > What happens is that sendmail complains that it can't open /dev/null. > > Hey! I just realized that this may be a clue! Does sendmail fiddle with > /dev/null? What happens if sendmail tries to lock /dev/null after it > opens it? Does schg prevent fcntl from locking /dev/null, if that is > what sendmail uses?
No. No. No. schg prevents anyone from writing to said file/device :-( -- Josh > > Ed Alley > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"