diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-24 12:45:19 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-24 12:51:39 +0900 |
| commit | 40f00d570e10ba03910d16b734cc75817b83d00e (patch) | |
| tree | 71d3a0d449111ea2e73325eb4118f181e438ae61 /sandbox/container_test.go | |
| parent | 0eb1bc6301591a9d8ebcd348238c2e98ee2a7bc0 (diff) | |
sandbox: set mkdir perm
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/container_test.go')
| -rw-r--r-- | sandbox/container_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/container_test.go b/sandbox/container_test.go index d47fd12b..5ed9fee4 100644 --- a/sandbox/container_test.go +++ b/sandbox/container_test.go @@ -93,7 +93,7 @@ func TestContainer(t *testing.T) { container. Tmpfs("/tmp", 0, 0755). Bind(os.Args[0], os.Args[0], 0). - Mkdir("/usr/bin"). + Mkdir("/usr/bin", 0755). Link(os.Args[0], "/usr/bin/sandbox.test"). Place("/etc/hostname", []byte(container.Args[5])) // in case test has cgo enabled |
