make sure tmp has correct permissions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user