From 9b206072faa0511eea65f243d36226248c0a098f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 28 Dec 2024 14:39:01 +0900 Subject: cmd/fshim: ensure data directory Ensuring home directory in shim causes the directory to be owned by the target user. Signed-off-by: Ophestra --- cmd/fshim/ipc/payload.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/fshim/ipc') diff --git a/cmd/fshim/ipc/payload.go b/cmd/fshim/ipc/payload.go index 3ef2dac1..92e51e8c 100644 --- a/cmd/fshim/ipc/payload.go +++ b/cmd/fshim/ipc/payload.go @@ -13,6 +13,8 @@ type Payload struct { Exec [2]string // bwrap config Bwrap *bwrap.Config + // path to outer home directory + Home string // sync fd Sync *uintptr -- cgit v1.3.1