From 7962681f4a9ea0614fe788ca2cda2c697cfff162 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Mon, 4 Nov 2024 00:49:32 +0900 Subject: app: format mapped uid instead of real uid Signed-off-by: Ophestra Umiker --- internal/app/seal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/seal.go') diff --git a/internal/app/seal.go b/internal/app/seal.go index ca7048b7..6852ddc6 100644 --- a/internal/app/seal.go +++ b/internal/app/seal.go @@ -139,7 +139,7 @@ func (a *app) Seal(config *Config) error { } } else { seal.sys.user = u - seal.sys.runtime = path.Join("/run/user", u.Uid) + seal.sys.runtime = path.Join("/run/user", mappedIDString) } // map sandbox config to bwrap -- cgit v1.3.1