Author: justin
Date: 2005-10-03 23:24:02 -0600 (Mon, 03 Oct 2005)
New Revision: 842

Modified:
   trunk/Makefile
Log:
Changed mv commands to install, set permissions and owner/group explicitly.

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile      2005-10-04 05:18:35 UTC (rev 841)
+++ trunk/Makefile      2005-10-04 05:24:02 UTC (rev 842)
@@ -291,8 +291,8 @@
        @-$(WD)/bin/ln -s bash /bin/sh
 
 createfiles:
-       @cp $(WD)/etc/passwd /etc
-       @cp $(WD)/etc/group /etc
+       @install -m644 -oroot -groot $(WD)/etc/passwd /etc
+       @install -m644 -oroot -groot $(WD)/etc/group /etc
        @touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
        @chgrp utmp /var/run/utmp /var/log/lastlog
        @chmod 664 /var/run/utmp /var/log/lastlog

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to