make sure tmp has correct permissions
This commit is contained in:
1 parent
965ff5c36c
commit
a645f094a5
1 file changed
+1
@@ -500,6 +500,7 @@ change_root()
|
|||||||
|
|
||||||
# make sure important device files and directories are in union
|
# make sure important device files and directories are in union
|
||||||
mkdir -p boot dev proc sys tmp mnt run
|
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/console ]; then mknod dev/console c 5 1; fi
|
||||||
if [ ! -e dev/tty ]; then mknod dev/tty c 5 0; 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
|
if [ ! -e dev/tty0 ]; then mknod dev/tty0 c 4 0; fi
|
||||||
|
|||||||
Reference in new issue
Block a user