[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Incomplete checkout with authz

From: Michael Mattes <sirprize_at_sodge.org>
Date: 2007-08-11 19:38:22 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

I have a question regarding path-based authorization. I'm using svn over
https with the following dav_svn.authz file (reduced to relevant parts,
also see the Apache2 config at the bottom):

[menouthis:/]
sirprize = rw
* = r
[menouthis:/unstable/secret]
sirprize = rw
* =

When checking out anonymously, the "secret" folder does not get checked
out, as expected. But when I tried checking out like that:
 svn co --username sirprize https://sodge.org/svn/menouthis/ menouthis
it did not work as well.
I also noticed that the log messages and timestamps of commits to the
secret directory are not shown anymore in "svn log", even when svn knows
my password.

Just in case I did not express myself clearly enough: My goal is to have
a publicly accessable (readable) repository with some content that must
not be seen for anonymous users. For authorized users, the repository
should be fully accessable as if there were no restrictions.

Any hints or ideas what I am doing wrong? I searched on the net and in
the SVN book, but found no answer to my specific problem.

Thanks for your time!
Best regards from Germany,
Michael

My relevant Apache2 Config:
<Location /svn>
  DAV svn
  SVNParentPath /var/www/svn
  AuthType Basic
  AuthName "sodge.org Subversion Server"
  AuthUserFile /etc/apache2/dav_svn.passwd
  AuthzSVNAccessFile /etc/apache2/dav_svn.authz
</Location>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGvfQFIxZ6GJZI+ocRAruDAJ48OcLzbeLP1ZLL8BoMLhe3JgpbXACg0Dl+
q9bNU2h+7HuPtGPa3j+IZKI=
=a7ws
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 11 19:36:22 2007

This is an archived mail posted to the Subversion Users mailing list.