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

"Authorization failed" stops me in my tracks

From: Janine Sisk <janine_at_furfly.net>
Date: 2006-03-16 07:49:53 CET

Ok, I'm feeling really stupid about now, but I'm also stuck.

I'm setting up my laptop (OS X) to work on a personal project.
Thought I would give subversion a try. So I installed it and created
my repository. All seemed fine. Then I tried to create a directory,
and I ran into a brick wall; I kept getting an "Authorization
failed" error. I can't see any reason for this; I own the
repository, I own the working directory, I've got admin rights on the
system... I can't imagine what's failing. I tried the --username and
--pasword args, but that didn't help either.

I have googled and read documentation and I can't see any steps I'm
missing. I'm using svnserve and it is running (otherwise I wouldn't
have gotten as far as I did).

Here's a (very shortened) roadmap of my journey...

We start out well:

svnadmin create --fs-type fsfs /Users/janine/Repos

But don't get very far:

svn mkdir -m "create trunk dir" svn://localhost/Users/janine/Repos/trunk
svn: Authorization failed

Ok, mkdir's not working that way, let's try it the two-step way:

cd working
svn co svn://localhost/Users/janine/Repos
Checked out revision 0.
cd Repos
svn mkdir trunk
A trunk
svn commit -m "create trunk dir"
svn: Commit failed (details follow):
svn: Authorization failed

Nope. Ok, let's try something I found in a Linux howto when
searching for any possible clues to this problem:

cd ..
rm -rf Repos
svn co svn://localhost/Users/janine/Repos
Checked out revision 0.
cd Repos
mkdir trunk
svn import -m "create trunk dir" /Users/janine/working/Repos file:///
Adding /Users/janine/working/Repos/trunk
Skipped '/Users/janine/working/Repos/.svn'

Committed revision 1.

Hey, it worked! Ok, now let's import some files and see if we can
work with them:

cd ..
rm -rf Repos
svn co svn://localhost/Users/janine/Repos
A Repos/trunk
Checked out revision 1.
cd Repos/trunk
cp -pr ../../../working.tmp/Hello .
svn import -m "initial import" /Users/janine/working/Repos/trunk
Adding /Users/janine/working/Repos/trunk/Hello
<snip list of files>
Skipped '/Users/janine/working/Repos/trunk/.svn'

Committed revision 2.

So far, so good....

cd ..
rm -rf Repos
svn co svn://localhost/Users/janine/Repos/trunk/Hello
cd Hello/Main.wo
<modify Main.html via Xcode>
svn commit -m "first exercise"
svn: Commit failed (details follow):
svn: Authorization failed

Argh! Now I'm stuck; there's no workaround for committing as far as
I know. :)

Any suggestions out there?



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 16 07:50:38 2006

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