2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 05:47:59 +00:00

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
No known key found for this signature in database
GPG Key ID: 738BDD02ABDD96C6

View File

@ -34,6 +34,10 @@ profile tnftp /usr/bin/tnftp {
# required for the pager (less, more) to work # required for the pager (less, more) to work
file Cx /usr/bin/dash, 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 # Sub-profile for the pager to work
profile dash /usr/bin/dash { profile dash /usr/bin/dash {
include <abstractions/base> include <abstractions/base>