newuser: dont try to create stuff on other, you can only do that on the fs console
This commit is contained in:
parent
df752e061e
commit
c2b524d82f
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue