From owner-freebsd-questions Wed May 31 11:37:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 3475C37B8DF for ; Wed, 31 May 2000 11:37:03 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12xDGI-0002pI-00; Wed, 31 May 2000 19:30:38 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12xDGI-000M5I-00; Wed, 31 May 2000 19:30:38 +0100 Date: Wed, 31 May 2000 19:30:38 +0100 From: Ben Smithurst To: LLT Cc: freebsd-questions@freebsd.org Subject: Re: /dev/null denied error Message-ID: <20000531193038.R99925@strontium.scientia.demon.co.uk> References: <016701bfcb2a$b1b928b0$d15433cf@lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <016701bfcb2a$b1b928b0$d15433cf@lan> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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