logo

apparmor.d

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/apparmor.d.git

trash (3621B)


  1. abi <abi/3.0>,
  2. # requires <tunables/home>
  3. owner @{HOME}/.config/trashrc rw,
  4. owner @{HOME}/.config/trashrc.lock rwk,
  5. owner @{HOME}/.config/#[0-9]*[0-9] rwk,
  6. owner @{HOME}/.config/trashrc.* rwl -> @{HOME}/.config/#[0-9]*[0-9],
  7. owner @{run}/user/@{uid}/#[0-9]*[0-9] rw,
  8. owner @{run}/user/@{uid}/trash.so*.[0-9].slave-socket rwl -> @{run}/user/@{uid}/#[0-9]*[0-9],
  9. # Home trash location
  10. owner @{HOME}/.local/share/Trash/ rw,
  11. owner @{HOME}/.local/share/Trash/#[0-9]*[0-9] rw,
  12. owner @{HOME}/.local/share/Trash/directorysizes{,.*} rwl -> @{HOME}/.local/share/Trash/#[0-9]*[0-9],
  13. owner @{HOME}/.local/share/Trash/files/{,**} rw,
  14. owner @{HOME}/.local/share/Trash/info/ rw,
  15. owner @{HOME}/.local/share/Trash/info/*.trashinfo{,.*} rw,
  16. owner @{HOME}/.local/share/Trash/expunged/ rw,
  17. owner @{HOME}/.local/share/Trash/expunged/[0-9]* rw,
  18. owner @{HOME}/.local/share/Trash/expunged/[0-9]*/ rw,
  19. owner @{HOME}/.local/share/Trash/expunged/[0-9]*/** rw,
  20. # Partitions' trash location when the admin creates the .Trash/ folder in the top lvl dir
  21. owner /media/*/.Trash/ rw,
  22. owner /media/*/.Trash/@{uid}/ rw,
  23. owner /media/*/.Trash/@{uid}/#[0-9]*[0-9] rw,
  24. owner /media/*/.Trash/@{uid}/directorysizes{,.*} rwl -> /media/*/.Trash/@{uid}/#[0-9]*[0-9],
  25. owner /media/*/.Trash/@{uid}/files/{,**} rw,
  26. owner /media/*/.Trash/@{uid}/info/ rw,
  27. owner /media/*/.Trash/@{uid}/info/*.trashinfo{,.*} rw,
  28. owner /media/*/.Trash/@{uid}/expunged/ rw,
  29. owner /media/*/.Trash/@{uid}/expunged/[0-9]* rw,
  30. owner /media/*/.Trash/@{uid}/expunged/[0-9]*/ rw,
  31. owner /media/*/.Trash/@{uid}/expunged/[0-9]*/** rw,
  32. # Partitions' trash location when the admin doesn't create the .Trash/ folder in the top lvl dir
  33. owner /media/*/.Trash-@{uid}/ rw,
  34. owner /media/*/.Trash-@{uid}/#[0-9]*[0-9] rw,
  35. owner /media/*/.Trash-@{uid}/directorysizes{,.*} rwl -> /media/*/.Trash-@{uid}/#[0-9]*[0-9],
  36. owner /media/*/.Trash-@{uid}/files/{,**} rw,
  37. owner /media/*/.Trash-@{uid}/info/ rw,
  38. owner /media/*/.Trash-@{uid}/info/*.trashinfo{,.*} rw,
  39. owner /media/*/.Trash-@{uid}/expunged/ rw,
  40. owner /media/*/.Trash-@{uid}/expunged/[0-9]* rw,
  41. owner /media/*/.Trash-@{uid}/expunged/[0-9]*/ rw,
  42. owner /media/*/.Trash-@{uid}/expunged/[0-9]*/** rw,
  43. # Removable media's trash location when the admin creates the .Trash/ folder in the top lvl dir
  44. owner /media/*/*/.Trash/ rw,
  45. owner /media/*/*/.Trash/@{uid}/ rw,
  46. owner /media/*/*/.Trash/@{uid}/#[0-9]*[0-9] rw,
  47. owner /media/*/*/.Trash/@{uid}/directorysizes{,.*} rwl -> /media/*/*/.Trash/@{uid}/#[0-9]*[0-9],
  48. owner /media/*/*/.Trash/@{uid}/files/{,**} rw,
  49. owner /media/*/*/.Trash/@{uid}/info/ rw,
  50. owner /media/*/*/.Trash/@{uid}/info/*.trashinfo{,.*} rw,
  51. owner /media/*/*/.Trash/@{uid}/expunged/ rw,
  52. owner /media/*/*/.Trash/@{uid}/expunged/[0-9]* rw,
  53. owner /media/*/*/.Trash/@{uid}/expunged/[0-9]*/ rw,
  54. owner /media/*/*/.Trash/@{uid}/expunged/[0-9]*/** rw,
  55. # Removable media's trash location when the admin doesn't create the .Trash/ folder in the top lvl dir
  56. owner /media/*/*/.Trash-@{uid}/ rw,
  57. owner /media/*/*/.Trash-@{uid}/#[0-9]*[0-9] rw,
  58. owner /media/*/*/.Trash-@{uid}/directorysizes{,.*} rwl -> /media/*/*/.Trash-@{uid}/#[0-9]*[0-9],
  59. owner /media/*/*/.Trash-@{uid}/files/{,**} rw,
  60. owner /media/*/*/.Trash-@{uid}/info/ rw,
  61. owner /media/*/*/.Trash-@{uid}/info/*.trashinfo{,.*} rw,
  62. owner /media/*/*/.Trash-@{uid}/expunged/ rw,
  63. owner /media/*/*/.Trash-@{uid}/expunged/[0-9]* rw,
  64. owner /media/*/*/.Trash-@{uid}/expunged/[0-9]*/ rw,
  65. owner /media/*/*/.Trash-@{uid}/expunged/[0-9]*/** rw,
  66. include if exists <abstractions/trash.d>