Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 19:30:38 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        LLT <llt@recol.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /dev/null denied error
Message-ID:  <20000531193038.R99925@strontium.scientia.demon.co.uk>
In-Reply-To: <016701bfcb2a$b1b928b0$d15433cf@lan>
References:  <016701bfcb2a$b1b928b0$d15433cf@lan>

next in thread | previous in thread | raw e-mail | index | archive | help
LLT wrote:

> Hi-
> I got 4.0-stable installed and if I'm logged in as a regular
> user and do a "ps" I get this error:
> ps: /dev/null: Permission denied
> 
> #ls -la /dev/null (as root) gives:
> crw-rw-rw-  1 root  wheel    2,   2 May 31 02:00 /dev/null
> 
> What's going on?  Is 4.0 different from 3.x?  Thanks.

Chances are the permissions on /dev are screwed.  What does

	# ls -ld / /dev

show?  They should both be root:wheel, mode 0755.

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


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?20000531193038.R99925>