aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-10-17 09:12:20 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-10-17 09:12:20 +0000
commit0a9b2e0ddf44d892eaeb2fbe382cbe987f514a56 (patch)
tree2b54191532b2f0d43828625823866d5d6e5cb0b3 /chapter06
parent7a90c005d92e4282389c85a8f21fdf56e8d8559e (diff)
Altered permissions and ownerships of device nodes - no changelog entry made for this change
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4297 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/devices.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/devices.xml b/chapter06/devices.xml
index 24a9aa58d..4d6d1a245 100644
--- a/chapter06/devices.xml
+++ b/chapter06/devices.xml
@@ -35,10 +35,11 @@ populate <filename class="directory">/dev</filename> ourselves. Begin by mounti
<para>Since we do not have the Udev package installed yet, we'll create a
minimal set of device nodes to use for building:</para>
-<screen><userinput>mknod -m 600 /dev/console c 5 1
-mknod -m 600 /dev/null c 1 3
-mknod -m 600 /dev/zero c 1 5
-mknod -m 600 /dev/ptmx c 5 2</userinput></screen>
+<screen><userinput>mknod -m 622 /dev/console c 5 1
+mknod -m 666 /dev/null c 1 3
+mknod -m 666 /dev/zero c 1 5
+mknod -m 666 /dev/ptmx c 5 2
+chown root:tty /dev/{console,ptmx}</userinput></screen>
<para>There are some symlinks and directories required by LFS that are not created by
Udev, so we create those ourselves here:</para>