This repository has been archived by the owner on Dec 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gad.conf.example
72 lines (70 loc) · 2.74 KB
/
gad.conf.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Configuration file for gad
# -----------------------------------------------------------------------------
#
# Lines starting with '#' are ignored.
# Examples:
#
# Assure that directory /usr/src is readable and writable by group 'src'.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'])
#
# Same as above, but follow symbolic links.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'],
# ignore_links = False)
#
# Same as above, but add group 'adm' to list of writable groups and replace
# any user or groups owners not member of the listed rwxgroups with 'attic' and
# 'src'.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src', 'adm'], safe_user = 'attic', safe_group = 'src',
# ignore_links = False)
#
# Assure that directory /usr/src is readable, writable and executable by group
# 'src' and readable + executable by group 'adm'.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'],
# rxgroups = ['adm'])
#
# Same as above, but only affect tree_base, not any sub-directories.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'],
# rxgroups = ['adm'],
# recursive = False)
#
# Same as above, but only affect sub-directories not the tree_base itsself.
# (Obviously, if you ignore the base and don't work recursively, there's
# nothing to do, so ignore_base and non-recursive is mutually exclusive.)
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'],
# rxgroups = ['adm'],
# ignore_base = True)
#
# Assure that directory /usr/src is readable, writable and executable by group
# 'src' and readable and executable by the groups 'adm' and 'audio'.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'],
# rxgroups = ['adm', 'audio'])
#
# Same as above, but do not reset the hand-crafted permissions defined on
# the sub-trees '/usr/src/proj/external' and '/usr/src/somewhere/else'.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'],
# rxgroups = ['adm', 'audio'],
# ignore_paths = ['proj/external', 'somewhere/else'])
#
# Same as above, but ignore all Subversion meta-data directories.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'],
# rxgroups = ['adm', 'audio'],
# ignore_paths = ['proj/external', 'somewhere/else'],
# ignore_elements = ['.svn'])
#
# Same as above, but change the owner user to 'nobody' if the current
# owner is not member of the writable group.
#make_tree_accessible(tree_base = '/usr/src',
# rwxgroups = ['src'],
# rxgroups = ['adm', 'audio'],
# ignore_paths = ['proj/external', 'somewhere/else'],
# safe_user = 'nobody')
# vim:set ft=python: