2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 10:07:12 +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>
This commit is contained in:
Maxime Bélair 2025-04-10 15:28:15 +02:00
parent 4e1a8feb03
commit 182db98c2a

View File

@ -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,