You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by po...@tigris.org on 2009/01/21 14:00:34 UTC

RE: Lock request failed: Authorization failed

> I am using SVN in a Windows environment. Everything works fine except
> locking. Everytime a client tries an "svn lock file" svn says "Authorization
> failed".
> 
> This is always true, no matter what I have in my conf.

Are you using svn: file: or http: to access the repository?

I am seeing the same problem on Linux when using svn: (snvserve).

The repository is set up with
anon-access = write

I can lock files in the repository using file: access but not svn: access.  But I can commit changes via svn: sa well as file: so the basic authentication seems to be working.

To make it more frustrating it was working OK when I last used the repository towards the end of last year - and as far as I can make out nothing has changed in the setup except svnserve has been restarted.

Stephen

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1041205

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Lock request failed: Authorization failed

Posted by po...@tigris.org.
> > I am using SVN in a Windows environment. Everything works fine except
> > locking. Everytime a client tries an "svn lock file" svn says "Authorization
> > failed".
> > 
> > This is always true, no matter what I have in my conf.
> 
> Are you using svn: file: or http: to access the repository?
> 
> I am seeing the same problem on Linux when using svn: (snvserve).
> 
> The repository is set up with
> anon-access = write
> 
> I can lock files in the repository using file: access but not svn: access.  But I can commit changes via svn: sa well as file: so the basic authentication seems to be working.
> 
I have got round it by moving to password based authentication with svn: access. I don't know if it is a bug or a feature that lock does not work with svn: anon access - I will leave that to the experts to think about.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1059017

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].