logo

apparmor.d

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

user-write (972B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2002-2006 Novell/SUSE
  4. # Copyright (C) 2014 Canonical Ltd.
  5. #
  6. # This program is free software; you can redistribute it and/or
  7. # modify it under the terms of version 2 of the GNU General Public
  8. # License published by the Free Software Foundation.
  9. #
  10. # ------------------------------------------------------------------
  11. abi <abi/3.0>,
  12. # per-user write directories
  13. owner @{HOME}/ r,
  14. owner @{HOME}/@{XDG_DESKTOP_DIR}/ r,
  15. owner @{HOME}/@{XDG_DOCUMENTS_DIR}/ r,
  16. owner @{HOME}/@{XDG_PUBLICSHARE_DIR}/ r,
  17. owner @{HOME}/[^.]*/ rw,
  18. owner @{HOME}/[^.]* rwl,
  19. owner @{HOME}/@{XDG_DESKTOP_DIR}/** rwl,
  20. owner @{HOME}/@{XDG_DOCUMENTS_DIR}/** rwl,
  21. owner @{HOME}/@{XDG_PUBLICSHARE_DIR}/** rwl,
  22. # Include additions to the abstraction
  23. include if exists <abstractions/user-write.d>