r796 - x86/trunk/initramfs

justin at linuxfromscratch.org justin at linuxfromscratch.org
Mon Sep 26 18:53:30 PDT 2005


Author: justin
Date: 2005-09-26 19:53:30 -0600 (Mon, 26 Sep 2005)
New Revision: 796

Modified:
   x86/trunk/initramfs/init.c
Log:
Fixed permissions in init.c.

Modified: x86/trunk/initramfs/init.c
===================================================================
--- x86/trunk/initramfs/init.c	2005-09-26 19:29:02 UTC (rev 795)
+++ x86/trunk/initramfs/init.c	2005-09-27 01:53:30 UTC (rev 796)
@@ -45,10 +45,10 @@
 	mkdir(DEV, 0755);			     /* Create a /dev directory */
 	mkdir(SHM, 0755);			     /* Create a /dev/shm directory */
 	mkdir(PROC, 0755);			     /* Create a /proc directory */
-	mkdir(TMP, 1777);			     /* Create a /tmp directory */
+	mkdir(TMP, 01777);			     /* Create a /tmp directory */
 	mkdir(CDROM_MOUNT, 0755);		     /* Create a .cdrom directory */
 	mkdir(SQFS, 0755);			     /* Create a .sqfs directory */
-	mkdir("/.tmpfs/.tmp",1777);		     /* Create a .tmp directory */
+	mkdir("/.tmpfs/.tmp",01777);		     /* Create a .tmp directory */
 
 	printf("Searching for the CD named %s...\n", VOLUME_ID);
 




More information about the livecd mailing list