Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2003 09:43:15 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: Strange behavior with /dev/null
Message-ID:  <3E202D83.1000302@potentialtech.com>
References:  <20030111152722.GA12302@keyslapper.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E202D83.1000302>