2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

abstractions/private-files: disallow access to the dirs of private files

Reference:
https://launchpad.net/bugs/1794820
This commit is contained in:
Emerson Bernier
2018-09-27 19:07:21 +00:00
committed by John Johansen
parent f6ee78d5b2
commit 732ed66f0a

View File

@@ -13,14 +13,14 @@
deny @{HOME}/.*.bak mrwkl,
# special attention to (potentially) executable files
audit deny @{HOME}/bin/** wl,
audit deny @{HOME}/.config/autostart/** wl,
audit deny @{HOME}/.config/upstart/** wl,
audit deny @{HOME}/.init/** wl,
audit deny @{HOME}/.kde{,4}/Autostart/** wl,
audit deny @{HOME}/.kde{,4}/env/** wl,
audit deny @{HOME}/.local/share/thumbnailers/** wl,
audit deny @{HOME}/.pki/nssdb/*.so{,.[0-9]*} wl,
audit deny @{HOME}/bin/{,**} wl,
audit deny @{HOME}/.config/autostart/{,**} wl,
audit deny @{HOME}/.config/upstart/{,**} wl,
audit deny @{HOME}/.init/{,**} wl,
audit deny @{HOME}/.kde{,4}/Autostart/{,**} wl,
audit deny @{HOME}/.kde{,4}/env/{,**} wl,
audit deny @{HOME}/.local/share/thumbnailers/{,**} wl,
audit deny @{HOME}/.pki/{,nssdb}/{,*.so{,.[0-9]*}} wl,
# don't allow reading/updating of run control files
deny @{HOME}/.*rc mrk,