Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm setting up a Subversion server at my office to help the dev team manage thier code, and better contain the projects somewhere locally in the building.

I've got the server, got svn installed, I can checkout, commit, create repos and the like. The problem is that I have one user! Not ideal.

I've been reading this, http://www.if-not-true-then-false.com/2010/svn-subversion-access-control-with-apache-and-mod-authz-svn/

But it seems that I keep overwriting the access file every time I want to add a new user. I can't really be bothered with hooking it into AD right now, but I would like each person to commit using their own username and such.

Does anyone have any idea's on the best way to configure this? I have to add all our code and would rather not have to edit a file in each repository I create! mkdir and chown etc are taking enough time already ;)

share|improve this question

1 Answer 1

up vote 0 down vote accepted

If you keep overwriting your password file, remove the -c modifier from the htpasswd command. That modifier creates a new file (and hence overwrites your old one) every time you add a user.

The tutorial you are using seems to line it out correctly, is the overwriting of users your only problem?

share|improve this answer
    
Yep, I figured it out, although I did it a stupid way, using -n and copying and pasting into the file! :rolleyes: –  DavidYell May 18 '11 at 11:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.