]> git.lizzy.rs Git - plan9front.git/commitdiff
newuser: dont try to create stuff on other, you can only do that on the fs console
authorcinap_lenrek <cinap_lenrek@centraldogma>
Thu, 9 Jun 2011 05:39:52 +0000 (05:39 +0000)
committercinap_lenrek <cinap_lenrek@centraldogma>
Thu, 9 Jun 2011 05:39:52 +0000 (05:39 +0000)
sys/lib/newuser

index 38c6072d7118ae29ec98481349974ba3f91e816e..147fb545d0379c0dbe3efaf3945485b2a2774e38 100755 (executable)
@@ -11,11 +11,7 @@ x='$'
 mkdir bin bin/rc bin/mips bin/386 bin/power bin/arm
 mkdir lib tmp
 chmod +t tmp
-# try to create tmp space on other
-mount -C /srv/cwfs /n/other other >/dev/null >[2=1] && \
-       mkdir -m 775 /n/other/usr/$user >/dev/null >[2=1] && \
-       mkdir -m 750 /n/other/usr/$user/tmp >/dev/null >[2=1] && \
-       bind -c /n/other/usr/$user/tmp $home/tmp
+bind -qc /n/other/usr/$user/tmp $home/tmp
 bind -c $home/tmp /tmp
 
 mail -c