Skip to content

Commit 1e946a7

Browse files
committed
fix /tmp's permission
1 parent 81137bc commit 1e946a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ mount_rootfs_all(){
6666
copy_etc_files
6767
mkdir -p "$INNER_TMP" || fail
6868
mount -o bind "$INNER_TMP" "$ROOTFS_DIR/tmp" || fail "cannot bind /tmp."
69+
chmod 777 "$ROOTFS_DIR/tmp" || fail
6970
for d in /dev /dev/pts /proc /sys; do
7071
mount -o bind "/$d" "$ROOTFS_DIR/$d" || fail "cannot bind $d"
7172
done

0 commit comments

Comments
 (0)