From owner-freebsd-questions@FreeBSD.ORG Tue Sep 2 11:32:14 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 B0C1B16A4C0 for ; Tue, 2 Sep 2003 11:32:14 -0700 (PDT) Received: from jordan.llnl.gov (jordan.llnl.gov [128.115.36.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E0C843FF2 for ; Tue, 2 Sep 2003 11:32:13 -0700 (PDT) (envelope-from alley1@llnl.gov) Received: from jordan.llnl.gov (wea@localhost [127.0.0.1]) by jordan.llnl.gov (8.12.6/8.12.6) with ESMTP id h82IWBtC011283; Tue, 2 Sep 2003 11:32:11 -0700 (PDT) Received: from localhost (wea@localhost)h82IWBWQ011280; Tue, 2 Sep 2003 11:32:11 -0700 (PDT) Date: Tue, 2 Sep 2003 11:32:11 -0700 (PDT) From: Ed Alley To: Message-ID: <20030902111654.K11257-100000@jordan.llnl.gov> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: edalley@covad.net cc: wea@llnl.gov Subject: File permissions suddenly change for /dev/null. 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: Tue, 02 Sep 2003 18:32:14 -0000 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 This has a devastating effect on user processes that want to open /dev/null. Whenever my system starts acting funny, the first place I look is at the permissions for /dev/null. When I find them changed I go under root and execute: chmod 666 /dev/null to get things back to normal. Has anybody seen this before? Have I got a hidden umask set up wrong somewhere, or is one of my daemons the culprit? Or could it be happening during the time that I run as root doing system maintenance? Ed Alley