[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dev/null only root access - why?



Nelson Castillo wrote:

On Tue, Sep 22, 2009 at 2:23 PM, Emanoil Kotsev <deloptes@yahoo.com> wrote:
Why does dev/null has rw permissions only for root?

ls -al /dev/null
-rw-r--r-- 1 root root 0 22 сеп 21,09 /dev/null

Mmm. Weird major and minor numbers. It doesn't look like a char device.


It's a regular file of size zero created at 2109 on the 22nd of what looks like "cen" - which is sep in cyrillic.

Whoever made the comment about something creating the file before the device gets created is right I rather suspect ;) Or udev isn't running for some reason.

--
Chris Jackson
Shadowcat Systems Ltd.


Reply to: