2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-02 15:25:27 +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:
Maxime Bélair
2025-04-10 15:28:15 +02:00
committed by John Johansen
parent 53074bb906
commit 29f6ac644f

View File

@@ -13,7 +13,7 @@ profile unprivileged_userns {
allow network,
allow signal,
allow dbus,
allow file rwlkm /**,
allow file rwlkm /{,**},
allow unix,
allow mqueue,
allow ptrace,