app: alternative inner home path
All checks were successful
test / test (push) Successful in 24s

Support binding home to an alternative path in the mount namespace.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-11-18 00:18:21 +09:00
parent 866270ff05
commit 05b7dbf066
6 changed files with 19 additions and 10 deletions

View File

@@ -188,7 +188,7 @@ func main() {
config.Confinement.AppID = aid
config.Confinement.Groups = groups
config.Confinement.Home = homeDir
config.Confinement.Outer = homeDir
config.Confinement.Username = userName
// enablements from flags