From: Ben Gras Date: Tue, 7 Jun 2005 13:33:57 +0000 (+0000) Subject: fix for ~root being / and buggering up system with chroot -R X-Git-Tag: v3.1.0~764 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/status/static/gitweb.js?a=commitdiff_plain;h=4de736535c3ec3f0c3df2801de62299d8282ec7d;p=minix.git fix for ~root being / and buggering up system with chroot -R --- diff --git a/etc/Makefile b/etc/Makefile index 1f0edb7bf..be974432f 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -20,4 +20,5 @@ install:: @echo "Making devices.." cd /dev && sh /usr/src/commands/scripts/MAKEDEV.sh std 2>/dev/null @echo "Making user homedirs.." - for u in bin ast root; do (cd ast && tar cf - .[a-z]* ) | (cd ~$$u && tar xf - ); chown -R $$u ~$$u; done + for u in bin ast; do (cd ast && tar cf - .[a-z]* ) | (cd ~$$u && tar xf - ); chown -R $$u ~$$u; done + (cd ast && tar cf - .[a-z]* ) | (cd ~root && tar xf - )