From owner-freebsd-questions Mon Sep 1 22:38:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA15991 for questions-outgoing; Mon, 1 Sep 1997 22:38:08 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts15-line15.uoregon.edu [128.223.150.198]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA15977 for ; Mon, 1 Sep 1997 22:38:04 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id WAA03144; Mon, 1 Sep 1997 22:37:55 -0700 (PDT) Date: Mon, 1 Sep 1997 22:37:55 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Hartmann cc: questions@FreeBSD.ORG Subject: Re: Access bits of /dev/null In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 31 Aug 1997, Hartmann wrote: > Dear Sirs. > Sometimes the system changes the access bits of /dev/null to 500, > so some applications and utilities faile because they cant't write to > /dev/null. Can anybody tell me how to solve the problem? It seems > trivial, but changing the access bits have had no effect because > after a while the system overrides these changes. I don't know where > these changes are made, neither by cron, nor by rc. > > Has anybody ideas or a solution? Or is the problem a problem because > managing a FBSD isn't my favourite profession ;-)) You must have some evil program or user changing the settings. I know that none of the system standard utilites that I run do this. You might try changing the owner and group to something else, which should keep the offending program from changing the permissions, unless it's running suid root, which would help limit your search. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo