From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 13:23:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9E0416A4BF for ; Sat, 13 Sep 2003 13:23:54 -0700 (PDT) Received: from lexus.isprime.com (lexus.isprime.com [66.230.130.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id C74AD43FD7 for ; Sat, 13 Sep 2003 13:23:53 -0700 (PDT) (envelope-from sk@isprime.com) Received: from lexus.isprime.com (sk@localhost [127.0.0.1]) by lexus.isprime.com (8.12.9/8.12.6) with ESMTP id h8DKNq3E064197; Sat, 13 Sep 2003 16:23:52 -0400 (EDT) (envelope-from sk@isprime.com) Received: from localhost (sk@localhost)h8DKNqSt064194; Sat, 13 Sep 2003 16:23:52 -0400 (EDT) X-Authentication-Warning: lexus.isprime.com: sk owned process doing -bs Date: Sat, 13 Sep 2003 16:23:52 -0400 (EDT) From: Scott Kupferschmidt To: Stephen Hilton In-Reply-To: <20030913142554.3e3e0902.nospam@hiltonbsd.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: /dev/null permission issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 20:23:54 -0000 Hello, We are not running X, this is a server it is happening on. The only thing running is apache, mysql, sendmail, inetd (proftpd), and that's about it. I find it odd that this is only happening on boxes we installed with 4.8-rel and not any other revision. I manage over 300 machines daily and have seen this recently. Sincerely, Scott Kupferschmidt ISPrime, Inc. 866.502.4678 ext. 3 AIM: Scott ISPrime - ICQ: 174337249 On Sat, 13 Sep 2003, Stephen Hilton wrote: > On Sat, 13 Sep 2003 14:47:23 -0400 (EDT) > Scott Kupferschmidt wrote: > > > Hello, > > > > I know I've sent in once before regarding, but no one has seemed to know > > how to fix this issue. It seems when I install boxes with 4.8-rel cd the > > /dev/null changes permission every minute to non-writable by any user, > > breaking a lot of scripts piping output to /dev/null. Anytime I try chmod > > 666 it, within the next clock minute, it's back to 644. > > > > I've tried rebuilding the device completely, cvsup'ing to a newer version > > (4.9-pre), nothing seems to fix it and it only seemed to happen on > > machines that I originally installed with 4.8-rel. If anyone has some > > insight on this issue, it would be greatly appreciated as I am pulling > > hair trying to figure out this problem. > > Scott, > > >From a previous thread: > > -------------------snip--------------------- > On Tue, 2 Sep 2003, Ed Alley wrote: > > > >> I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null > >> gets mysteriously changed by some unknown process to: > >> > >> crw------- 1 root wheel 2, 2 Sep 2 11:20 /dev/null > > On Tue, 2 Sep 2003, David Landgren wrote: > > >> ..., the moral of the story is, what have you installed recently? > > On Tue, 2 Sep 2003, Matthew Seaman wrote: > > >> ... It would have to be a root-owned process ... > > On Tue, 2 Sep 2003, Scott Kupferschmidt wrote: > > >> I had the same problem and still unable to figure it out.. > > I thankyou all for the above comments. They were helpful to > me in finding the problem: When I thought about it for a > time I realized that it happens on days that I was doing > administrative work as ROOT! > > It was NETSCAPE! running under root. It turns out that > I periodically tweak our router via Netscape. If I happen to > be logged in as root on my FreeBSD terminal when I log into > the router with Netscape, then after I'm finished with my > work and close Netscape, I find that the permissions on > /dev/null have been reset to: crw-------. > I'm running Netscape-4.76. I also have a late > version of Mozilla installed which doesn't seem to > mangle the file permissions on /dev/null the way Netscape > does. I also don't need to be logged in as root when I > run Netscape to tweak the router, it just happens that > when I'm doing other administrative stuff I think to > look at the router also. (:->) > > Ed Alley > wea@llnl.gov > -------------------snip--------------------- > > You did not mention running Netscape 4.67 as root, but I thought > I would throw this out here, in case it is relevent. > > > Regards, > > > Stephen Hilton > nospam@hiltonbsd.com > _______________________________________________ > 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" >