Merge profiles: add missing fowner capability to the tar profile

This manifested with chmod calls failing in autopkgtests of dbus and snapd.

Given the magnitude of regressions that might be caused by bugs in this profile, @alex_murray has suggested disabling the profile by default (i.e. moving it into `extras/`).

Reported-by: Alex Murray <alex.murray@canonical.com>
Signed-off-by: Ryan Lee <ryan.lee@canonical.com>

MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1553
Approved-by: Alex Murray <alex.murray@canonical.com>
Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
John Johansen 2025-02-19 18:18:41 +00:00
commit a5df123056

View file

@ -16,6 +16,7 @@ profile tar /usr/bin/tar {
# used to extract user files as root
capability chown,
capability fowner,
# used to compress user files as root
capability dac_override,