make sure tmp has correct permissions

pull/5/head v1.6
Tomas M 2012-12-09 05:49:40 -09:00
parent 965ff5c36c
commit a645f094a5
1 changed files with 1 additions and 0 deletions

View File

@ -500,6 +500,7 @@ change_root()
# make sure important device files and directories are in union
mkdir -p boot dev proc sys tmp mnt run
chmod 1777 tmp
if [ ! -e dev/console ]; then mknod dev/console c 5 1; fi
if [ ! -e dev/tty ]; then mknod dev/tty c 5 0; fi
if [ ! -e dev/tty0 ]; then mknod dev/tty0 c 4 0; fi