diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-26 02:49:37 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-26 02:49:37 +0900 |
| commit | 2dd49c437c19fcd55ce22e732b544d22b91a6342 (patch) | |
| tree | 491a71711f0985f3fc47076f8912acd92f14d439 /internal/app/seal.go | |
| parent | 92852d823508ac38d0e346b14cf01a69456f1cdb (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/seal.go')
| -rw-r--r-- | internal/app/seal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/seal.go b/internal/app/seal.go index c9ec4bc6..80e95370 100644 --- a/internal/app/seal.go +++ b/internal/app/seal.go @@ -291,7 +291,7 @@ func (seal *outcome) finalise(ctx context.Context, sys sys.State, config *fst.Co // inner XDG_RUNTIME_DIR default formatting of `/run/user/%d` as post-fsu user innerRuntimeDir := path.Join("/run/user", mapuid.String()) seal.container.Tmpfs("/run/user", 1<<12, 0755) - seal.container.Tmpfs(innerRuntimeDir, 1<<23, 0755) + seal.container.Tmpfs(innerRuntimeDir, 1<<23, 0700) seal.env[xdgRuntimeDir] = innerRuntimeDir seal.env[xdgSessionClass] = "user" seal.env[xdgSessionType] = "tty" |
