Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix subversion password config?

I want that everytime someone wants to checkout the project from SVN he/she will be prompted for credentials. This happens when someone tries to commit something, but not at checkout. Here is the svnserve.conf section :


[general]
anon-access = none
auth-access = write
password-db = passwd

I figured that by setting anon-access to none, this will prompt for a username & password, but this doesn't seem to happen. How can I fix this? What do I need to change?

like image 263
Geo Avatar asked Dec 30 '22 21:12

Geo


2 Answers

You have to set

auth-access = rw

a checkout doesn't write, it only reads. If you want to have your users enter their credentials on a checkout, you have to make reads also authenticated.

like image 195
Stefan Avatar answered Jan 05 '23 17:01

Stefan


auth-access = rw

did not work for me. As mentioned in the comment by @Tempus, I had to do this:

auth-access = read
auth-access = write
like image 43
Nate Avatar answered Jan 05 '23 17:01

Nate