Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn: E170001 : Authorization failed

Tags:

svn

I am trying to execute the following commands:

svn checkout --username=shohrab svn+ssh://[email protected]/p/dbprojecthft/code-0/ dbprojecthft-code-0
cd dbprojecthft-code-0
mkdir trunk branches tags
svn add trunk branches tags
svn ci -m "Add initial directories"

For the last command I am getting svn: E170001: Authorization failed error. After trying few hours on this error I am giving up.

Any help will be highly appreciated.

like image 526
user1163650 Avatar asked May 20 '13 00:05

user1163650


2 Answers

The error svn: E170001: Authorization failed says what it says; it occurs only when your user account does not have permissions to access the selected resource or when you provided invalid authentication credentials. In case of invalid credentials you'll see additional errors.

As far as I can see, you can checkout the project therefore you have Read access, but the commit fails since you don't have Write access OR since there was some authentication related-issue. So you should double-check

  • that the URL that you enter to checkout the project is valid,
  • that you specify the correct username and password to authenticate to the server,
  • that your user account has Read / Write access to the project you attempt to commit to.
like image 89
bahrep Avatar answered Nov 05 '22 08:11

bahrep


The E170001 error also appears for repository updates (commits) if svnserve has been invoked with the -R (--read-only) option.

like image 5
StanBell Avatar answered Nov 05 '22 08:11

StanBell