You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Kinberg <ki...@tecore.com> on 2006/02/09 12:31:36 UTC

Authorization failed

I am using an authz configuration to control access to certain
directories in subversion. This works great. However, I am having an
issue getting the checkout command to continue when authorization fails.
 
Lets say I have the following tree:
|
- branches
- secret
- tags
- trunk
 
I have restricted access on secret to only allow certain users. If a
user with no access to secret tries to checkout "/", it stops as soon as
svn tries to get the secret directory with "authorization failed". I
expect svn to not get secret, but are there any options so that it
continues to get the rest of the directories when authorization fails on
a directory?
 
Robert

RE: Authorization failed

Posted by Lieven Govaerts <lg...@mobsol.be>.
Robert, 
 
as far as I know, there's no direct solution for your question. 
 
But, first of all, do you really expect people to checkout all branches,
tags and trunk? That can get pretty hefty when you start branching.
 
The manual option is to non-recursively checkout the root folder to a
working copy, and then only update the subfolders you need.
 
svn checkout -N http://svnserver/svn/ .
svn update branches tags trunk
 
hope this helps,
 
Lieven.



  _____  

From: Robert Kinberg [mailto:kinberg@tecore.com] 
Sent: donderdag 9 februari 2006 13:32
To: users@subversion.tigris.org
Subject: Authorization failed


I am using an authz configuration to control access to certain directories
in subversion. This works great. However, I am having an issue getting the
checkout command to continue when authorization fails.
 
Lets say I have the following tree:
|
- branches
- secret

- tags
- trunk
 
I have restricted access on secret to only allow certain users. If a user
with no access to secret tries to checkout "/", it stops as soon as svn
tries to get the secret directory with "authorization failed". I expect svn
to not get secret, but are there any options so that it continues to get the
rest of the directories when authorization fails on a directory?
 
Robert