Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN commit fails with "Authorization failed" error

Tags:

I am a new user with SVN, and I meet a problem on SVN commit command.

I use TortoiseSVN 1.6.6, and Ubuntu Subversion image with WMware as server.

I did create a repository on SVN server, and I can easily checkout files from the repository, but commit.

When I do commit, it always shows the problem.

Command: Commit   Error: Commit failed (details follow):   Error: Authorization failed   Finished!:    

This problem only shows at local client with SVN server repository on VM. I tried creating repository on local machine with TortoiseSVN, and it is no problem on Commit. I also tried a working copy on server machine, it is no problem on Commit also.

Did anybody experience this issue? It is not any problem on Checkout from VM SVN server but it shows trouble on local client commit to VM server.

Should anything need to be setup I missed to do it?

like image 821
user263687 Avatar asked Feb 01 '10 16:02

user263687


2 Answers

It's the authorization that failed. That means the first step, the authentication was successful.

So: the username/password is correct and was accepted by your server. But then that user wasn't allowed to access the path/resource.

check your path based authorization file (conf/authz) and make sure that user has the rights.

like image 180
Stefan Avatar answered Sep 28 '22 10:09

Stefan


For me it was because of server migration. In svnserve.conf I forgot to uncomment:

auth-access = write password-db = passwd 
like image 33
Deyan Vitanov Avatar answered Sep 28 '22 12:09

Deyan Vitanov