~ubuntu-branches/ubuntu/raring/apparmor/raring

« back to all changes in this revision

Viewing changes to profiles/extras/usr.bin.svnserve

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-03-23 16:42:01 UTC
  • Revision ID: james.westby@ubuntu.com-20070323164201-jkax6f0oku087b7l
Tags: upstream-2.0.1+510.dfsg
ImportĀ upstreamĀ versionĀ 2.0.1+510.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: usr.bin.svnserve 12 2006-04-12 21:35:41Z steve-beattie $
 
2
# ------------------------------------------------------------------
 
3
#
 
4
#    Copyright (C) 2002-2005 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
 
 
12
#include <tunables/global>
 
13
 
 
14
/usr/bin/svnserve {
 
15
  #include <abstractions/base>
 
16
  #include <abstractions/nameservice>
 
17
 
 
18
  # network service ;)
 
19
  capability net_bind_service,
 
20
 
 
21
  /srv/svn/*/conf/* r,
 
22
  /srv/svn/*/format r,
 
23
  /srv/svn/*/db/ r,
 
24
  /srv/svn/*/db/* r,
 
25
  /srv/svn/*/db/write-lock rwl,
 
26
  /srv/svn/*/db/current rwl,
 
27
  /srv/svn/*/db/current*.tmp rwl,
 
28
  /srv/svn/*/db/revs/* rw,
 
29
  /srv/svn/*/db/revprops/* rw,
 
30
  /srv/svn/*/db/transactions/** rw, 
 
31
  /tmp/apr* rwl,  
 
32
  /var/tmp/apr* rwl, 
 
33
  /tmp/report*.tmp rwl, 
 
34
}