Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 00:39:09 -0400 (EDT)
From:      Scott Kupferschmidt <sk@isprime.com>
To:        freebsd-questions@freebsd.org
Subject:   4.8-STABLE /dev/null issue
Message-ID:  <Pine.BSF.4.21.0306030038550.84480-100000@lexus.isprime.com>

next in thread | raw e-mail | index | archive | help
Hello,

This may have been previously discussed, but I have yet to find a solution
yet so looking to find some guidance here.

I have a customer who has 2 servers, one is 4.8-RC and the other is
4.8-STABLE.  No problems have been noted on his server with 4.8-RC,
however the one running 4.8-STABLE seems to have some random /dev/null
permission changes and I'm stumped.

He runs a cron script (on both servers) and redirects the output to
/dev/null, and everytime he does it on the 4.8-STABLE the permissions
change from crw-rw-rw- to crw-r--r-- which is rather odd.  Anytime I 'echo
blah >/dev/null' just in a regular shell, nothing goes wrong, only when in
cron.

Errors reported in /var/log/maillog are something like this:

Jun  2 21:06:56 diamond sm-msp-queue[97747]: h5316uZO097747: disconnect:
open("/dev/null") failed: Permission denied

Also, cron reports similar:

Subject: Cron <sk@diamond> echo blah >/dev/null
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/sk>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=sk>
X-Cron-Env: <USER=sk>

cannot create /dev/null: permission denied

I cvsup'd, rebuilt the world, mergemaster'd the system to the latest and
still experience issues.  Was there a change between 4.8-RC and 4.8-STABLE
that is causing this that I am just overlooking here?

Any advice is greatly appreciated, as of right now I am banging my head.

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0306030038550.84480-100000>