PageRenderTime 121ms CodeModel.GetById 119ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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