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

Re: svn: Authorization Failed

From: Michael Lapchuk <mlapchuk_at_gmail.com>
Date: Sun, 1 Jun 2008 12:25:26 -0600

On Sat, May 31, 2008 at 11:43 PM, Ryan Schmidt <
subversion-2008b_at_ryandesign.com> wrote:

> On May 31, 2008, at 11:34, Michael Lapchuk wrote:
> On Fri, May 30, 2008 at 8:17 PM, Ryan Schmidt wrote:
>> On May 30, 2008, at 17:38, Michael Lapchuk wrote:
>>> I am trying to get a hang of subversion and am trying to commit my
>>> working copy to the repository. I am working on the comp that subversion and
>>> svnserve are on and I have root access and all of that stuff. When I
>>> checkout a working copy this is how it goes:
>>> >>>svn checkout svn://localhost/root/svn/repos
>>> >A repos/trunk
>>> >A repos/trunk/svn_demo.cpp
>>> >A repos/branches
>>> >A repos/tags
>>> Checked out revision 4.
>>> All is well and fine and I go edit svn_demo.cpp and then when I go to
>>> commit that to the repository this is what I get:
>>> >>>svn commit -m "comment"
>>> >svn: Authorization failed
>>> The only time that I can actually commit something is when I checkout the
>>> files using:
>>> >>>svn checkout file:///root/svn/repos
>>> I have given anon-users write permissions and I still get the problem.
>>> Also I am trying to do the same thing but over a network so I do:
>>> >>>svn checkout svn://**IP**/root/svn/repos
>>> and it gives me all the files and such but when I go to commit my working
>>> copy back into the repository I get the same error:
>>> >svn: Authorization failed
>>> Subversion caches your authorization information in ~/.subversion/auth;
>>> maybe an incorrect username/password got cached there for the svn:// URL?
>>> Try removing the cache file for that server and retyping your username and
>>> password when asked when you issue the next svn command for that server.
>> Right now we are just trying to get subversion set up right so we did not
>> put any passwords or usernames yet and in the svnconf.conf file the lines
>> pointing to the username and password databases are still commented out.
> Nevertheless, have you tried removing the file related to this server in
> ~/.subversion/auth? That's still the only suggestion I can think of.
> Please Reply All, so your reply goes to the list too, not just to me.
No, i haven't tried removing that file but it will have to wait until Monday
when I get back into work.


"Those who are ignorant of history are doomed to repeat it"
Received on 2008-06-01 20:26:36 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.