From 971c79bb80e2dc88421f047e82556a39ef063fbf Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Mar 2025 19:49:51 +0900 Subject: sandbox: remove hardcoded parent perm Signed-off-by: Ophestra --- sandbox/container.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sandbox/container.go') diff --git a/sandbox/container.go b/sandbox/container.go index ee4f632e..70929bb1 100644 --- a/sandbox/container.go +++ b/sandbox/container.go @@ -96,6 +96,9 @@ type ( *Ops // Extra seccomp options. Seccomp seccomp.SyscallOpts + // Permission bits of newly created parent directories. + // The zero value is interpreted as 0755. + ParentPerm os.FileMode Flags HardeningFlags } -- cgit v1.3.1