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

Re: unable to login to svn repo

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 25 Jul 2012 17:01:13 +0100

"Kapur, Rajneesh" <RKapur_at_activehealth.net> writes:

> Thanks Philip, Thorsten, and Ryan
>
> Do you mean the repository is a directory 'repo4' on disk?
> ----> Yes, my repository is named: repo4 - located at /home/RKapur with absolute path /home/RKapur/repo4

> You are right - looks like tortoiseSVN or "svn" client can't find the repository. I just tried with tortoiseSVN and I see more logs in server log file:
>
> -------------------------start Logs -----------------------------------------------------------------------------
> 19269 2012-07-25T14:58:19.946784Z 172.20.33.153 - home/RKapur/repo4 open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.7.5 -
> 19269 2012-07-25T14:58:19.959811Z 172.20.33.153 - home/RKapur/repo4 get-latest-rev
> 19268 2012-07-25T14:58:19.959823Z 172.20.33.153 - home/RKapur/repo4 get-latest-rev
> 19269 2012-07-25T14:58:19.970012Z 172.20.33.153 - home/RKapur/repo4 reparent /
> 19268 2012-07-25T14:58:19.970035Z 172.20.33.153 - home/RKapur/repo4 reparent /
> 19268 2012-07-25T14:58:20.003675Z 172.20.33.153 harry home/RKapur/repo4 ERR subversion/svnserve/serve.c 167 170001 Authorization failed

The repository has been found. As I said in my previous mail your authz
file:

> 2) authz file
> [aliases]
> [groups]
> harry_and_sally = harry,sally
> [repository:/home/RKapur/repo4]
> @harry_and_sally = rw

only provides access to a repository called 'repository', it provides no
access to a repository called 'repo4'.

> It looks like when I used "svnadmin create /home/RKapur/repo4" then the directory permissions were not set correctly. It might be because of the user "rkapur" that I am logged in as. Is this correct? Do I have to login as "root"? If so then I have to ask our system admins. as I don't have "root" access. I also checked in other machine where we have older linux ES release 4 (Nahant Update 9) -

You need to fix your authz file. Your layout is very confusing. You
have a repository on disk at the path /home/RKapur/repo4 and you are
providing authz rules for the path /home/RKapur/repo4 inside the
repository. It's not impossible for the path inside the repository to
be the same as the path to the repository but it is unconventional.

-- 
Philip
Received on 2012-07-25 18:01:51 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.