mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 13:58:22 +00:00
unprivileged_userns profile: Allow full file system access
Fixes https://gitlab.com/apparmor/apparmor/-/issues/505
The profile previously permitted access to `/**`, which excludes the root
directory (`/`). This commit also gives `/` access, aligning with the
intended behavior.
Signed-off-by: Maxime Bélair <maxime.belair@canonical.com>
(cherry picked from commit 182db98c2a
)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
committed by
John Johansen
parent
53074bb906
commit
29f6ac644f
@@ -13,7 +13,7 @@ profile unprivileged_userns {
|
|||||||
allow network,
|
allow network,
|
||||||
allow signal,
|
allow signal,
|
||||||
allow dbus,
|
allow dbus,
|
||||||
allow file rwlkm /**,
|
allow file rwlkm /{,**},
|
||||||
allow unix,
|
allow unix,
|
||||||
allow mqueue,
|
allow mqueue,
|
||||||
allow ptrace,
|
allow ptrace,
|
||||||
|
Reference in New Issue
Block a user