M #: add nosuid option to mount

This commit is contained in:
Christian González committed 2020-05-18 12:30:21 +02:00
1 parent 87677e531c
commit 869206ae60
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ fi
trap clean EXIT
# Mount container disk image and untar rootfs contents to it
mount -o noexec,nodev $img_raw $dockerdir/mnt > /dev/null 2>&1
mount -o noexec,nodev,nosuid $img_raw $dockerdir/mnt > /dev/null 2>&1
chmod o+w $dockerdir/mnt
tar xpf $tarball -C $dockerdir/mnt > /dev/null 2>&1