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

RE: Setting up repository to not allowed checkout on a directory

From: Jonathan Ashley <jonathan.ashley_at_praxis-his.com>
Date: Wed, 16 Jan 2008 12:08:17 +0000

> <Location /svn-test>
> DAV svn
> SVNPath /data/TestRepositories/svn-test
> # Access Control Policy
> AuthzSVNAccessFile /etc/httpd/etc/svn-test.access
> # How to authenticate a user
> AuthType Basic
> AuthName "Subversion Testing Repository"
> AuthUserFile /etc/httpd/etc/passwd-svn-test
> # For any operations other than these , require an
> authenticated user
> Order deny,allow
> Require valid-user
> </LimitExcept>
> </Location>
> And the access policy file is as follows
> [svn-test:/]
> * = rw
> [svn-test:/5.02]
> gtroccol =
> I thought this configuration allowed all access to everybody,
> but restrict gtroccol from any access to 5.02. Eventually I
> will make user of the groups, but I want to make it works first.
> But if I check-out svn-test as gtroccol I still have the 5.02
> directory.

I have a configuration file that works, and the main difference to
yours is that I *don't* put LimitExcept around my 'Require valid-user'
directive. I think you are deciding to allow completely anonymous
users to do the operations that are needed for checkout, so maybe
Apache never challenges for authentication in the first place?

Try getting rid of it.


Jon Ashley
This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is strictly prohibited. If you have received this email in error please contact the sender. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Praxis. 
Although this email and any attachments are believed to be free of any virus or other defect, no responsibility is accepted by Praxis or any of its associated companies for any loss or damage arising in any way from the receipt or use thereof. The IT Department at Praxis can be contacted at it.support_at_praxis-his.com.
Praxis High Integrity Systems Ltd:
Company Number: 3302507, registered in England and Wales
Registered Address: 20 Manvers Street, Bath. BA1 1PX
VAT Registered in Great Britain: 682635707
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-16 13:09:01 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.