>
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
-----Original Message-----
> From: Kevin Kempter [mailto:kevin_at_kevinkempterllc.com]
> Sent: 01 September 2009 20:55
> To: users_at_subversion.tigris.org
> Subject: svn initial setup help
>
> Hi all;
>
>
> were finally rolling our code into subversion, however I'm
> having an access issue.
>
>
> Here's what I've done:
>
>
> 1) created a new linux user svnuser (seemed appropriate to
> have him own the
> repos)
>
>
> 2) created a directory /stage/svn (as svnuser)
>
>
> 3) created the repo :
> $ cd /stage/svn
> $ svnadmin create dba
>
>
> 4) imported files
> (at this point I found I could not add files as another user
> so I changed
> perms on the /stage/svn dir)
> # chown -R a+rw /stage/svn
> $ cd /home/postgres/svn (where the dbatools dir is - that
> has our code)
> $ svn import dbatools file:///stage/svn/db
> Adding dbatools/sql
> Adding dbatools/sql/vac_tabs.sql
> Adding dbatools/sql/vac_qry.sql
> Adding dbatools/sql/vac_summary_rpt.sql
> Adding dbatools/sql/vac_density_rpt.sql
> Adding dbatools/tmp
> Adding dbatools/log
> Adding dbatools/ddl
> Adding dbatools/ddl/crt_dbmon_ddl.sql
> Adding dbatools/html
> Adding dbatools/bin
> Adding ...
>
>
> 5) installed mod_dav_svn via yum
>
>
> 6) added a new conf file to apache (in /etc/httpd/conf.d)
> $ cd /etc/httpd/conf.d
> $ cat svn.conf
>
>
> <Location /svn>
> DAV svn
> SVNPath /stage/svn
> </Location>
>
Here's your problem. SVNPath needs to be the path of a repository, e.g. /stage/svn/dba. If you want to use the same Location directive for all repositories in the /stage/svn directory then you need SVNParentPath.
Also, you don't need to have data imported into the repository before setting up Apache. What I'm saying is that if you set Apache first and then improt your data you don't need to change permissions to 777 to the whole of the repository (which is not a good thing in my view).
Giulio
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390092
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-02 10:45:33 CEST