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.5
97 lines (91 loc) · 3.04 KB
/
gad.conf.5
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
.TH GAD.CONF 5 "December 05, 2008"
.SH NAME
.B gad.conf
\- configure directories for gad
.SH DESCRIPTION
\fB/etc/gad.conf\fP is a configuration file for gad. It uses a python-style
format and may contain global configuration statements and statements affecting
a specific directory or directory tree. The configuration statements look like
python methods and take parameters.
.SH GLOBAL OPTIONS
.TP
\fBset_log_dbg(\fP\fITrue|False\fP\fB)\fP
Disable or enable debug logging to standard error. (Default is enabled.)
.TP
\fBset_simulate(\fP\fITrue|False\fP\fB)\fP
Disable or enable simulation mode. In simulation mode, changes are not applied. (Default is disabled.)
.SH DIRECTORY OPTIONS
All directory options are keyword parameters to method
\fBmake_group_accessible(\fP\fIparameters\fP\fB)\fP
.TP
\fBtree_base\fP = \fI'/directory/base'\fP
Specifies the directory base on which gad will operate.
.TP
\fBxgroups\fP
.TP
\fBwgroups\fP
.TP
\fBwxgroups\fP
.TP
\fBrgroups\fP
.TP
\fBrxgroups\fP
.TP
\fBrwgroups\fP
.TP
\fBrwxgroups\fP = [\fI'unix_group_name1'\fP, \fI'unix_group_name2'\fP]
List of groups that should have read, write or execution access or a
combination thereof.
.TP
\fBxusers\fP
.TP
\fBwusers\fP
.TP
\fBwxusers\fP
.TP
\fBrusers\fP
.TP
\fBrxusers\fP
.TP
\fBrwusers\fP
.TP
\fBrwxusers\fP = [\fI'unix_user_name1'\fP, \fI'unix_user_name2'\fP]
List of users that should have read, write or execution access or a
combination thereof.
.TP
\fBsafe_user\fP = \fI'unix_user_name'\fP
If this option is set, every file/directory user owner is checked against the
list of allowed users, which consist of users explicitly granted write
permissions and users who are members of groups with write permission. In case
the owner does not pass the check, it is changed to the user passed via
\fBsafe_user\fP.
.TP
\fBsafe_group\fP = \fI'unix_group_name'\fP
If this option is set, every file/directory group owner is checked against the
list of groups with write permission. In case the owner group does not pass the
check, it is changed to the group passed via \fBsafe_group\fP.
.TP
\fBignore_links\fP = \fITrue\fP
If set to False, symbolic links are followed. (Default is True.)
.TP
\fBrecursive\fP = \fITrue\fP
If set to False, gad does not recursively descend into the given tree_base
(i.e. it does not look at files and directories within tree_base). (Default is
True.)
.TP
\fBignore_base\fP = \fIFalse\fP
If set to True, gad ignores the given tree_base and only looks at the files and directories \fIwithin\fP tree_base. (Default is False.)
.TP
\fBignore_paths\fP = [\fI'proj/external'\fP, \fI'somewhere/else'\fP]
List of paths below tree_base that should be ignored.
.TP
\fBignore_elements\fP = [\fI'.svn'\fP]
List of directory or file names that should be ignored. This is applied
throughout the tree, not only at a specific path position. If you only want
to ignore a file at a specific position, use \fBignore_paths\fP instead.
.SH SEE ALSO
\fIgad\fP(8)
.SH AUTHOR
.B gad
and this manual page were written by Fabian Knittel and put under the GNU GPL;
either version 2, or (at your option) any later version.