From owner-freebsd-questions Sat Jan 11 7:34:25 2003 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 33D8337B401 for ; Sat, 11 Jan 2003 07:34:24 -0800 (PST) Received: from mail.adelphia.net (pa-plum1b-166.pit.adelphia.net [24.53.161.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164E143F13 for ; Sat, 11 Jan 2003 07:34:23 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([172.16.0.95]) by mail.adelphia.net (8.12.3/8.12.3) with ESMTP id h0BFZXAg003624 for ; Sat, 11 Jan 2003 10:35:33 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E202D83.1000302@potentialtech.com> Date: Sat, 11 Jan 2003 09:43:15 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Subject: Re: Strange behavior with /dev/null References: <20030111152722.GA12302@keyslapper.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Louis LeBlanc wrote: > Strange behavior I'm getting since I last did a mergemaster and > MAKEDEV in /dev: > > cannot create /dev/null: permission denied > > $ cat ConfigFvwmMenus > /dev/null > -bash: /dev/null: Permission denied > > $ ls -l /dev/null > crw------- 1 root wheel 2, 2 Jan 11 10:00 /dev/null My /dev/null is crw-rw-rw-. Don't know how it happened, but it sure seems like a simple permission problem. chmod 666 /dev/null should fix it (I would think). > $ file /dev/null > /dev/null: character special (2/2) > > I am running 4.6.2-RELEASE #5. What did I miss here? I'm beginning > to wonder if this may be causing some of my other problems with fvwm > menu/keystroke xterm execution. Obviously, it will cause problems any time someone other than root tries to write to /dev/null -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message