I recently setup a SVN server with http as transport protocol (apache2, dav_svn,etc. ). The server seems to be working fine. I also created an authz file and various users. Now I want to debug, if my configuration is working as expected.

When I access the svn via a web browser as different users ("admin"/"user") I see the expected directories. No problem. I guess the server configuration is correct.

However, I experienced something very strange on my client machine (which is a Mac) when using the svn tool on the shell:

svn co hxxp://user@a.b.c.d/mysvn userdir

... returns the correct directories or files the user should see.

svn co hxxp://admin@a.b.c.d/mysvn admindir

... returns the correct directories or files the admin should see.

I delete userdir and rerun

svn co hxxp://user@a.b.c.d/mysvn userdir

... now USER has access to all files; also to those files she should not see.

I checked back in the web browser and here everything is as expected. I am a tiny bit confused. Is this some kind of odd caching problem on client side of the svn tool? How can I purge the cache?

I googled quite a bit to find a solution but nothing came close to my problem.


So it seems like syntax of the svn co command was faulty.

It seems to be working with

svn co --username user hxxp://a.b.c.d/mysvn/ userdir

| improve this answer | |
  • can your mark your answer as valid ? thanks – Froggiz Dec 21 '15 at 16:02
  • System telling me: You can acccept your own answer tomorrow. – drscheme Dec 22 '15 at 8:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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