It's controlled by the OS. Most things in /dev and /proc are.

Don't fsck with things like that :)

> -----Original Message-----
> From: Mike Barton [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 25, 2002 12:16 PM
> To: [email protected]
> Subject: Re: NULL_FILE
> 
> 
> > It IS a real file.
> >
> > > ls -l /dev/null
> >
> > crw-rw-rw-   1 root     root       1,   3 Jan 28  2001 /dev/null
> >
> > It's a bit bucket. Everything sent here is discarded. 
> Nothing more, nothing
> > less.
> > But, it is a real file.
> >
> 
> [EMAIL PROTECTED] red]$ ls -l /proc/kcore
> -r--------    1 root     root     535760896 Mar 25 10:49 kcore
> 
> ooh... another real file!
> 
> [EMAIL PROTECTED] proc]$ sudo chmod u+w kcore
> Password:
> [EMAIL PROTECTED] proc]$ ls -l kcore
> -r--------    1 root     root     535760896 Mar 25 11:10 kcore
> 
> Why will its permissions not change?
> 
> [EMAIL PROTECTED] proc]$ sudo rm -f kcore
> rm: cannot unlink `kcore': Operation not permitted
> 
> Strange...
> 
> --Palrich.
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 

Reply via email to