[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Apache subversion unable to open another ext4 partion svn repository

From: kushal bhattacharya <bhattacharya.kushal4_at_gmail.com>
Date: Tue, 7 Nov 2017 17:45:38 +0530

# dav_svn.conf - Example Subversion/Apache configuration
# For details and further options see the Apache user manual and
# the Subversion book.
# NOTE: for a setup with multiple vhosts, you will want to do this
# configuration in /etc/apache2/sites-available/*, not here.

# <Location URL> ... </Location>
# URL controls how the repository appears to the outside world.
# In this example clients access the repository as http://hostname/svn/
# Note, a literal /svn should NOT exist in your document root.
Alias /svn /media/sense/20457332-fd6a-409d-821d-6bf368ecf6bd/svn
<Location /repos>

  # Uncomment this to enable the repository
  DAV svn

  # Set this to the path to your repository
  #SVNPath /var/lib/svn
   #SVNPath /media/sense/20457332-fd6a-409d-821d-6bf368ecf6bd/svn
  # Alternatively, use SVNParentPath if you have multiple repositories under
  # under a single directory (/var/lib/svn/repo1, /var/lib/svn/repo2, ...).
  # You need either SVNPath and SVNParentPath, but not both.
  SVNParentPath /media/sense/20457332-fd6a-409d-821d-6bf368ecf6bd/svn
  SVNListParentPath on
  # Access control is done at 3 levels: (1) Apache authentication, via
  # any of several methods. A "Basic Auth" section is commented out
  # below. (2) Apache <Limit> and <LimitExcept>, also commented out
  # below. (3) mod_authz_svn is a svn-specific authorization module
  # which offers fine-grained read/write access control for paths
  # within a repository. (The first two layers are coarse-grained; you
  # can only enable/disable access to an entire repository.) Note that
  # mod_authz_svn is noticeably slower than the other two layers, so if
  # you don't need the fine-grained control, don't configure it.

  # Basic Authentication is repository-wide. It is not secure unless
  # you are using https. See the 'htpasswd' command to create and
  # manage the password file - and the documentation for the
  # 'auth_basic' and 'authn_file' modules, which you will need for this
  # (enable them with 'a2enmod').
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/dav_svn.passwd

  # To enable authorization via mod_authz_svn (enable that module
  #<IfModule mod_authz_svn.c>
  #AuthzSVNAccessFile /etc/apache2/dav_svn.authz

  # The following three lines allow anonymous read, but make
  # committers authenticate themselves. It requires the 'authz_user'
  # module (enable it with 'a2enmod').
    Require valid-user


this is my configuration file

On Tue, Nov 7, 2017 at 5:43 PM, Andreas Stieger <andreas.stieger_at_gmx.de>

> Hello,
> On 11/07/2017 01:05 PM, kushal bhattacharya wrote:
> > Can't open directory
> > '/media/sense/20457332-fd6a-409d-821d-6bf368ecf6bd/svn': Permission
> denied
> The Subversion server process (svnserve or httpd) is unable to access
> (read) the path. Adjust the ownership and permissions so that the server
> process has the required privileges.
> Andreas
Received on 2017-11-07 13:18:24 CET

This is an archived mail posted to the Subversion Users mailing list.