Skip to content

Commit

Permalink
fix(profile): reduce the number of profile transition.
Browse files Browse the repository at this point in the history
See: 209688f
  • Loading branch information
roddhjav committed Nov 28, 2023
1 parent 209688f commit a48daa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apparmor.d/abstractions/trash.d/complete
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions apparmor.d/abstractions/user-download-strict
Original file line number Diff line number Diff line change
Expand Up @@ -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 <abstractions/user-download-strict.d>

0 comments on commit a48daa9

Please sign in to comment.