diff --git a/apparmor.d/abstractions/user-read b/apparmor.d/abstractions/user-read new file mode 100644 index 00000000..6cbf86ba --- /dev/null +++ b/apparmor.d/abstractions/user-read @@ -0,0 +1,10 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-3.0-or-later + + owner @{HOME}/@{XDG_DOCUMENTS_DIR}/{,**} r, + owner @{HOME}/@{XDG_MUSIC_DIR}/{,**} r, + owner @{HOME}/@{XDG_PICTURES_DIR}/{,**} r, + owner @{HOME}/@{XDG_VIDEOS_DIR}/{,**} r, + owner @{HOME}/@{XDG_PROJECTS_DIR}/{,**} r, + owner @{HOME}/@{XDG_BOOKS_DIR}/{,**} r,