1svnserve.conf(5) File Formats Manual svnserve.conf(5)
2
3
4
6 svnserve.conf - Repository configuration file for svnserve
7
9 repository-path/conf/svnserve.conf
10
12 svnserve.conf controls the behavior of the svnserve daemon on a per-
13 repository basis. It is located in the conf subdirectory of the repos‐
14 itory.
15
16 The overall structure of the file is the same as the structure of Sub‐
17 version user configuration files. At the top level are sections, which
18 are specified by words in square brackets; inside each section are
19 variable definitions of the form "variable = value". Lines beginning
20 with '#' are ignored. svnserve.conf currently uses only one section
21 named "general", and supports the following variables:
22
23 anon-access = none|read|write
24 Determines the access level for unauthenticated users. write
25 access allows all repository operations. read access allows all
26 operations except committing and changing revision properties.
27 none access allows no access. The default level is read.
28
29 auth-access = none|read|write
30 Determines the access level for authenticated users, using the
31 same access levels as above. The default level is write.
32
33 password-db = filename
34 Sets the location of the password database. filename may be rela‐
35 tive to the repository conf directory. There is no default value.
36 The password database has the same overall format as this file.
37 It uses only one section "users"; each variable within the section
38 is a username, and each value is a password.
39
40 authz-db = filename
41 The authz-db option controls the location of the authorization
42 rules for path-based access control. filename may be relative to
43 the repository conf directory. There is no default value. If you
44 don't specify an authz-db, no path-based access control is done.
45
46 realm = realm-name
47 Sets the authentication realm of the repository. If two reposito‐
48 ries have the same password database, they should have the same
49 realm, and vice versa; this association allows clients to use a
50 single cached password for several repositories. The default
51 realm value is the repository's uuid.
52
54 The following example svnserve.conf allows read access for authenti‐
55 cated users, no access for anonymous users, points to a passwd database
56 in the same directory, and defines a realm name.
57
58 [general]
59 anon-access = none
60 auth-access = read
61 password-db = passwd
62 realm = My First Repository
63
64 The file "passwd" would look like:
65
66 [users]
67 joeuser = joepassword
68 jayrandom = randomjay
69
71 svnserve(8)
72
73
74
75 svnserve.conf(5)