Go to main content

man pages section 5: File Formats

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

svnserve.conf (5)

Name

svnserve.conf - Repository configuration file for svnserve

Synopsis

repository-path/conf/svnserve.conf

Description

svnserve.conf(5)              File Formats Manual             svnserve.conf(5)



NAME
       svnserve.conf - Repository configuration file for svnserve

SYNOPSIS
       repository-path/conf/svnserve.conf

DESCRIPTION
       svnserve.conf  controls  the  behavior of the svnserve daemon on a per-
       repository basis.  It is located in the conf subdirectory of the repos-
       itory.

       The  overall structure of the file is the same as the structure of Sub-
       version user configuration files.  At the top level are sections, which
       are  specified  by  words  in  square brackets; inside each section are
       variable definitions of the form "variable = value".   Lines  beginning
       with  '#'  are  ignored.  svnserve.conf currently uses only one section
       named "general", and supports the following variables:

       anon-access = none|read|write
            Determines the access  level  for  unauthenticated  users.   write
            access  allows  all repository operations.  read access allows all
            operations except committing  and  changing  revision  properties.
            none access allows no access.  The default level is read.

       auth-access = none|read|write
            Determines  the  access  level  for authenticated users, using the
            same access levels as above.  The default level is write.

       password-db = filename
            Sets the location of the password database.  filename may be rela-
            tive to the repository conf directory.  There is no default value.
            The password database has the same overall format  as  this  file.
            It uses only one section "users"; each variable within the section
            is a username, and each value is a password.

       authz-db = path
            The authz-db option controls the  location  of  the  authorization
            rules  for path-based access control.  path may be relative to the
            repository conf directory.  path may be a repository relative  URL
            (^/) or absolute file:// URL to a text file in a Subversion repos-
            itory.  There is no default value.  If you don't specify an authz-
            db, no path-based access control is done.

       realm = realm-name
            Sets the authentication realm of the repository.  If two reposito-
            ries have the same password database, they should  have  the  same
            realm,  and  vice  versa; this association allows clients to use a
            single cached password  for  several  repositories.   The  default
            realm value is the repository's uuid.

EXAMPLE
       The  following  example  svnserve.conf allows read access for authenti-
       cated users, no access for anonymous users, points to a passwd database
       in the same directory, and defines a realm name.

        [general]
        anon-access = none
        auth-access = read
        password-db = passwd
        realm = My First Repository

       The file "passwd" would look like:

        [users]
        joeuser = joepassword
        jayrandom = randomjay


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------------+
       |ATTRIBUTE TYPE |        ATTRIBUTE VALUE          |
       +---------------+---------------------------------+
       |Availability   | developer/versioning/subversion |
       +---------------+---------------------------------+
       |Stability      | Uncommitted                     |
       +---------------+---------------------------------+

SEE ALSO
       svnserve(8)



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source was downloaded from  https://www.apache.org/dist/subversion/sub-
       version-1.14.1.tar.gz.

       Further information about this software can be found on the open source
       community website at https://subversion.apache.org/.



                                                              svnserve.conf(5)