/apparmor.d/abstractions/svn-repositories

http://github.com/brinkman83/bashrc · #! · 53 lines · 47 code · 6 blank · 0 comment · 0 complexity · b37224300ec5f1962401d4e4a92fb9bf MD5 · raw file

  1. # $Id$
  2. # ------------------------------------------------------------------
  3. #
  4. # Copyright (C) 2002-2006 Novell/SUSE
  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. # This little snippet should abstract the read/write access to a repository.
  12. # it is intended to be included in profiles for svnserve/apache2 and maybe
  13. # some repository viewers like trac/viewvc
  14. # no hooks exec by default; please define whatever you need explicitely.
  15. /srv/svn/**/conf/* r,
  16. /srv/svn/**/format r,
  17. /srv/svn/**/db/fs-type r,
  18. /srv/svn/**/db/format r,
  19. # FSFS
  20. /srv/svn/**/db/ r,
  21. /srv/svn/**/db/uuid r,
  22. /srv/svn/**/db/write-lock rwl,
  23. /srv/svn/**/db/current rwl,
  24. /srv/svn/**/db/current*.tmp rwl,
  25. /srv/svn/**/db/revs/ r,
  26. /srv/svn/**/db/revs/* rw,
  27. /srv/svn/**/db/revprops/ r,
  28. /srv/svn/**/db/revprops/* rw,
  29. /srv/svn/**/db/transactions/** rw,
  30. # BDB
  31. /srv/svn/**/db/DB_CONFIG r,
  32. /srv/svn/**/db/__db.[0-9]* rwl,
  33. /srv/svn/**/db/log.[0-9]* rwl,
  34. /srv/svn/**/db/nodes rwl,
  35. /srv/svn/**/db/revisions rwl,
  36. /srv/svn/**/db/transactions rwl,
  37. /srv/svn/**/db/copies rwl,
  38. /srv/svn/**/db/changes rwl,
  39. /srv/svn/**/db/representations rwl,
  40. /srv/svn/**/db/strings rwl,
  41. /srv/svn/**/db/uuids rwl,
  42. /srv/svn/**/db/locks rwl,
  43. /srv/svn/**/db/lock-tokens rwl,
  44. # temp files
  45. /tmp/apr* rwl,
  46. /var/tmp/apr* rwl,
  47. /tmp/report*.tmp rwl,