logo

apparmor.d

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

user-download (987B)


  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. # Description: Where common programs should allow users to download
  13. # files
  14. owner @{HOME}/tmp/** rwl,
  15. owner @{HOME}/[dD]ownload{,s}/ r,
  16. owner @{HOME}/[dD]ownload{,s}/** rwl,
  17. owner @{HOME}/[^.]* rwl,
  18. owner @{HOME}/@{XDG_DESKTOP_DIR}/ r,
  19. owner @{HOME}/@{XDG_DESKTOP_DIR}/* rwl,
  20. owner @{HOME}/@{XDG_DOWNLOAD_DIR}/ r,
  21. owner @{HOME}/@{XDG_DOWNLOAD_DIR}/* rwl,
  22. owner "@{HOME}/My Downloads/" r,
  23. owner "@{HOME}/My Downloads/**" rwl,
  24. # Include additions to the abstraction
  25. include if exists <abstractions/user-download.d>