aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/app_nixos_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-26 02:49:37 +0900
committerOphestra <cat@gensokyo.uk>2025-03-26 02:49:37 +0900
commit2dd49c437c19fcd55ce22e732b544d22b91a6342 (patch)
tree491a71711f0985f3fc47076f8912acd92f14d439 /internal/app/app_nixos_test.go
parent92852d823508ac38d0e346b14cf01a69456f1cdb (diff)
app: create XDG_RUNTIME_DIR with perm 0700
Many programs complain about this. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/app_nixos_test.go')
-rw-r--r--internal/app/app_nixos_test.go2
1 files changed, 1 insertions, 1 deletions
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")).