commit a43ba149e373c838e6e237ba95d103b42d4d0093
parent 1cf3873c30d03ef92eb8a80e56e51053e5134dcf
Author: ccx <ccx@te2000.cz>
Date: Fri, 22 Mar 2024 01:28:26 +0000
Allow access (+x) to /mnt/ns
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/ns_run_unshared b/sbin/ns_run_unshared
@@ -79,7 +79,7 @@ cd $NS_ROOT
if { ns_run_mounts . }
# mountpoint for privileged operations and pivot_root
-if { s6-mount -nwt tmpfs -o nosuid,nodev,mode=700 mnt_ns $NS_TMPFS }
+if { s6-mount -nwt tmpfs -o nosuid,nodev,mode=711 mnt_ns $NS_TMPFS }
if { mkdir ${NS_TMPFS}/oldroot ${NS_TMPFS}/bin }
#if { s6-hiercopy $NS_BIN ${NS_TMPFS}/bin }
if { s6-mount -n -o bind,ro $NS_BIN ${NS_TMPFS}/bin }