2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 10:07:12 +00:00

Exclude hidden locations in home directories

Signed-off-by: Allen Huang <allen.huang@canonical.com>
This commit is contained in:
Allen Huang 2025-05-02 14:16:53 +01:00
parent ca8619313a
commit 0e28172ca6
No known key found for this signature in database
GPG Key ID: 8469974868A49E75

View File

@ -9,11 +9,11 @@ profile qpdf /usr/bin/qpdf {
# common file formats for qpdf are included: .pdf, .json and .qdf
# user's home directories
owner @{HOME}/**.[qQpP][dD][fF] rw,
owner @{HOME}/**.[jJ][sS][oO][nN] rw,
owner @{HOME}/[^.]**.[qQpP][dD][fF] rw,
owner @{HOME}/[^.]**.[jJ][sS][oO][nN] rw,
# allow less common .in and .out files within user's directories
owner @{HOME}/**.[iI][nN] rw,
owner @{HOME}/**.[oO][uU][tT] rw,
owner @{HOME}/[^.]**.[iI][nN] rw,
owner @{HOME}/[^.]**.[oO][uU][tT] rw,
# tmp directories
owner /tmp/**.[qQpP][dD][fF] rw,