apparmor.d/tnftp: add missing @{HOME} rule

This commit is contained in:
Giampaolo Fresi Roglia 2024-10-04 17:19:47 +02:00
parent 42cd79e3db
commit aca065a208
Failed to generate hash of commit

View file

@ -34,6 +34,10 @@ profile tnftp /usr/bin/tnftp {
# required for the pager (less, more) to work
file Cx /usr/bin/dash,
# allow read on anything on @{HOME} not explicitly denied
owner file r @{HOME},
owner file r @{HOME}/**,
# Sub-profile for the pager to work
profile dash /usr/bin/dash {
include <abstractions/base>