commit 0bd8b2bb453e37b59a48718763275c72c40f4546
parent 98f5e455db80c039df5528fa26b4a06e7e3166d5
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Tue, 20 Feb 2024 19:39:26 +0100
Fix mount option for bind mount
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/command/pthbs-build b/command/pthbs-build
@@ -135,7 +135,7 @@ function at_filehash(hash_type, file_hash, dst, dstdir){
sandbox_cmd=sandbox_cmd " -m " q("allow/read+"dirname(ENVIRON["envdir"])"/***")
sandbox_cmd=sandbox_cmd " -munshare/user:1"
sandbox_cmd=sandbox_cmd " -munshare/mount:1"
- sandbox_cmd=sandbox_cmd " -mbind+" q(ENVIRON["basedir"]"/work/bin:/bin:ro,nosetuid,nodev")
+ sandbox_cmd=sandbox_cmd " -mbind+" q(ENVIRON["basedir"]"/work/bin:/bin:ro,nosuid,nodev")
sandbox_cmd=sandbox_cmd " -m " q("allow/read+/bin/***")
sandbox_cmd=sandbox_cmd " -munshare/net:1 -munshare/ipc:1"
} else {