From 2dd49c437c19fcd55ce22e732b544d22b91a6342 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 26 Mar 2025 02:49:37 +0900 Subject: app: create XDG_RUNTIME_DIR with perm 0700 Many programs complain about this. Signed-off-by: Ophestra --- internal/app/app_nixos_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/app_nixos_test.go') diff --git a/internal/app/app_nixos_test.go b/internal/app/app_nixos_test.go index 0b5b42c6..e6fb3700 100644 --- a/internal/app/app_nixos_test.go +++ b/internal/app/app_nixos_test.go @@ -203,7 +203,7 @@ var testCasesNixos = []sealTestCase{ Link(fst.Tmp+"/etc/zshenv", "/etc/zshenv"). Link(fst.Tmp+"/etc/zshrc", "/etc/zshrc"). Tmpfs("/run/user", 4096, 0755). - Tmpfs("/run/user/1971", 8388608, 0755). + Tmpfs("/run/user/1971", 8388608, 0700). Bind("/tmp/fortify.1971/tmpdir/1", "/tmp", sandbox.BindWritable). Bind("/var/lib/persist/module/fortify/0/1", "/var/lib/persist/module/fortify/0/1", sandbox.BindWritable). Place("/etc/passwd", []byte("u0_a1:x:1971:100:Fortify:/var/lib/persist/module/fortify/0/1:/run/current-system/sw/bin/zsh\n")). -- cgit v1.3.1