app: format mapped uid instead of real uid
All checks were successful
test / test (push) Successful in 19s
All checks were successful
test / test (push) Successful in 19s
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user