r3278 - jhalfs/trunk/HLFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Dec 10 02:45:36 PST 2006


Author: manuel
Date: 2006-12-10 03:45:34 -0700 (Sun, 10 Dec 2006)
New Revision: 3278

Modified:
   jhalfs/trunk/HLFS/master.sh
Log:
HLFS: Fixed /dev/console permissions.

Modified: jhalfs/trunk/HLFS/master.sh
===================================================================
--- jhalfs/trunk/HLFS/master.sh	2006-12-10 10:43:20 UTC (rev 3277)
+++ jhalfs/trunk/HLFS/master.sh	2006-12-10 10:45:34 UTC (rev 3278)
@@ -565,7 +565,7 @@
 	@if [ ! -e \$(MOUNT_PT)/dev ]; then \\
 	  mkdir \$(MOUNT_PT)/dev && \\
 	  sudo mknod -m 666 \$(MOUNT_PT)/dev/null c 1 3 && \\
-	  sudo mknod -m 666 \$(MOUNT_PT)/dev/console c 5 1 && \\
+	  sudo mknod -m 600 \$(MOUNT_PT)/dev/console c 5 1 && \\
 	  sudo chown -R 0:0 \$(MOUNT_PT)/dev;
 	fi;
 	@sudo sed -e 's|^ln -.. |ln -svf |' -i \$(CMDSDIR)/chapter06/*-createfiles




More information about the alfs-log mailing list