I installed SVN in Windows XP. I got the error when I create a project. How do I fix it?
C:\svn\bin>svn mkdir svn://localhost/myproject -m "some msg" --username user1 --password pass svn: Authorization failed
Here is the configuration file in SVN:
anon-access = none
auth-access = write
password-db = passwd
[users]
user1=pass1
user2=pass2
If the
authz-db = authz
line is uncommented, you have to modify the authz file like this:
[/]
me = rw
otheruser = r
I missed the [/]
before and I've got the "svn: Authorization failed" on client side. But it works well now.
It looks like you've got your password wrong:
C:\svn\bin>svn mkdir svn://localhost/myproject -m "some msg" --username user1 --password pass svn
[users]
user1=pass1
user2=pass2
You've entered "pass" but your password is specified as "pass1"
Are you sure you have set up your SVN repository correctly?
Check the following
Open the file
<path to repository>myproject\conf\svnserve.conf
Check the following line aren't commented out (if the line starts with a # remove it)
anon-access = read
auth-access = write
password-db = passwd
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With