diff --git a/apparmor.d/abstractions/trash.d/complete b/apparmor.d/abstractions/trash.d/complete index 80243f4d9..ea7760a04 100644 --- a/apparmor.d/abstractions/trash.d/complete +++ b/apparmor.d/abstractions/trash.d/complete @@ -6,10 +6,10 @@ owner @{user_config_dirs}/trashrc rw, owner @{user_config_dirs}/trashrc.lock rwk, owner @{user_config_dirs}/#@{int} rwk, - owner @{user_config_dirs}/trashrc.* rwl -> @{user_config_dirs}/#@{int}, + owner @{user_config_dirs}/trashrc.* rwl, owner @{run}/user/@{uid}/#@{int} rw, - owner @{run}/user/@{uid}/trash.so*.@{int}.slave-socket rwl -> @{run}/user/@{uid}/#@{int}, + owner @{run}/user/@{uid}/trash.so*.@{int}.slave-socket rwl, # Home trash location owner @{user_share_dirs}/Trash/{,**} rwl, diff --git a/apparmor.d/abstractions/user-download-strict b/apparmor.d/abstractions/user-download-strict index c5405d905..2a150c902 100644 --- a/apparmor.d/abstractions/user-download-strict +++ b/apparmor.d/abstractions/user-download-strict @@ -10,9 +10,9 @@ owner @{HOME}/@{XDG_DOWNLOAD_DIR}/ w, owner @{HOME}/@{XDG_DESKTOP_DIR}/ r, - owner @{HOME}/@{XDG_DESKTOP_DIR}/** rwkl -> @{HOME}/@{XDG_DESKTOP_DIR}/**, + owner @{HOME}/@{XDG_DESKTOP_DIR}/** rwkl, owner @{user_download_dirs}/ r, - owner @{user_download_dirs}/** rwkl -> @{user_download_dirs}/**, + owner @{user_download_dirs}/** rwkl, include if exists