Re: chmod 666 /dev/null

2001-03-28 Thread Maxim Sobolev

Stephan van Beerschoten wrote:

> I just rebooted my machine with the cvupped-and-compiled world
> and kernel, I logged on and did the following:
>
> (stephanb@enigma|ttyp4)~> w
> w: /dev/null: Permission denied
>
> Checking out /dev/null gave me this:
> crw---  1 root  wheel2,   2 Mar 28 20:00 /dev/null
>
> I had to chmod it to 666 again in order for me as non-root
> to do a 'w' ... my question. Why this behaviour ?
>
> I've been running FreeBSD for years, but this puzzles me

I've also saw this once, but still wonder what the reason was.

-Maxim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: chmod 666 /dev/null

2001-03-28 Thread Stephan van Beerschoten

Ouch .. ok this was meant to go to -stable.
 I don't know what made me sent this to -current.. damn.

I'll cc this reply to -stable. My apologies.

Anyway, I forgot to mention some into.. I do not have DEVFS in my
kernel and this is my kernel:

FreeBSD enigma.whacky.net 4.3-RC FreeBSD 4.3-RC #0: Wed Mar 28 10:40:13 CEST 2001 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENIGMA  i386


On Wed, 28 Mar 2001, Stephan van Beerschoten wrote:

> I just rebooted my machine with the cvupped-and-compiled world
> and kernel, I logged on and did the following:
> 
> (stephanb@enigma|ttyp4)~> w
> w: /dev/null: Permission denied
> 
> Checking out /dev/null gave me this:
> crw---  1 root  wheel2,   2 Mar 28 20:00 /dev/null
> 
> I had to chmod it to 666 again in order for me as non-root 
> to do a 'w' ... my question. Why this behaviour ?
> 
> I've been running FreeBSD for years, but this puzzles me
> 
> -Stephan
> 
> -- 
> Stephan van Beerschoten [SVB21-RIPE]   [EMAIL PROTECTED]
>   PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
>  "To err is human, to forgive is Not Company Policy"
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

-- 
Stephan van Beerschoten [SVB21-RIPE]   [EMAIL PROTECTED]
  PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
 "To err is human, to forgive is Not Company Policy"

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



chmod 666 /dev/null

2001-03-28 Thread Stephan van Beerschoten

I just rebooted my machine with the cvupped-and-compiled world
and kernel, I logged on and did the following:

(stephanb@enigma|ttyp4)~> w
w: /dev/null: Permission denied

Checking out /dev/null gave me this:
crw---  1 root  wheel2,   2 Mar 28 20:00 /dev/null

I had to chmod it to 666 again in order for me as non-root 
to do a 'w' ... my question. Why this behaviour ?

I've been running FreeBSD for years, but this puzzles me

-Stephan

-- 
Stephan van Beerschoten [SVB21-RIPE]   [EMAIL PROTECTED]
  PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
 "To err is human, to forgive is Not Company Policy"

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message