Hi,
Upon reboot in a fresh LFS install I got some permission denied
messages on /dev/null so checked the permissions of "/dev/null" which
are indeed:
<SCARWIN-LFS> root [ ~ ]# ls -l /dev/null
crw-rw---- 1 root root 1, 3 2008-03-24 12:44 /dev/null
So I did change the permission to 666 which did the trick, but I still
receive the problem on every reboot.
In the meantime, I am setting the permissions of /dev/null manually in
'/etc/rc.local', but I would still like to know what is the cause of
all this because this is not an acceptable long-term solution as the
permissions are set too late in the 'init' process when they are
placed in rc.local.
Checking the contents of /lib/udev/devices show that null have the
right permissions there.
<SCARWIN-LFS> root [ ~ ]# ls -l /lib/udev/devices
total 8
lrwxrwxrwx 1 root root 11 2008-03-23 06:59 core -> /proc/kcore
lrwxrwxrwx 1 root root 13 2008-03-23 06:59 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 3 2008-03-24 12:44 null
drwxr-xr-x 2 root root 4096 2008-03-17 08:43 pts
drwxr-xr-x 2 root root 4096 2008-03-17 08:43 shm
lrwxrwxrwx 1 root root 15 2008-03-23 06:59 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 2008-03-23 06:59 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 2008-03-23 06:59 stdout -> /proc/self/fd/1
I appreciate any ideas.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page