diff options
| author | Ophestra <cat@gensokyo.uk> | 2024-12-28 14:39:01 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2024-12-28 14:39:01 +0900 |
| commit | 9b206072faa0511eea65f243d36226248c0a098f (patch) | |
| tree | 0abe20c637ba826344da099a0dc92704dd3b581e /internal | |
| parent | b9e2003d5b078a0704ee751aec80cfe8b4434646 (diff) | |
cmd/fshim: ensure data directory
Ensuring home directory in shim causes the directory to be owned by the target user.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/app/start.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/app/start.go b/internal/app/start.go index 3736abdf..cc131817 100644 --- a/internal/app/start.go +++ b/internal/app/start.go @@ -49,6 +49,7 @@ func (a *app) Start() error { Argv: a.seal.command, Exec: shimExec, Bwrap: a.seal.sys.bwrap, + Home: a.seal.sys.user.data, Verbose: fmsg.Verbose(), }, |
