baho-utot wrote:
LFS-6.1 build
I build a kernel (2.6.11.12) for my scratch built system and it populates
/dev with the wrong permissions, ie /dev/null with crw-rw---- permissions.
Non root users can not access it example: echo "Cat shit" > /dev/null.
Fails with Permission denied. (because of 660 perms)
Why would the kernel mount/populate /dev with perms set to 660.
How could it be fixed?
Could anyone explain (overview) how the kernel populates and set
permissions in /dev ?
There is a HTML file in the udev source, docs/writing_udev_rules/index.html
which explains it quite well. It looks like you may have forgotten to copy
udev-config-3.rules to /etc/udev/rules.d/25-lfs.rules so all the nodes in /dev
are being created with the default permissions, 660
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page