summaryrefslogtreecommitdiff
path: root/sys/lib/newuser
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-06-09 05:39:52 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-06-09 05:39:52 +0000
commitc2b524d82fb4fdc0d7614f9958354a9a8f7cf8ef (patch)
treeb66a13196e63a1c493fa69745e5e086497035667 /sys/lib/newuser
parentdf752e061ef7dd522c81ef84ff3c69d6f970e643 (diff)
newuser: dont try to create stuff on other, you can only do that on the fs console
Diffstat (limited to 'sys/lib/newuser')
-rwxr-xr-xsys/lib/newuser6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/lib/newuser b/sys/lib/newuser
index 38c6072d7..147fb545d 100755
--- a/sys/lib/newuser
+++ b/sys/lib/newuser
@@ -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