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

Re: Branching from Working Copy with Partial Visibility

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 30 Jul 2010 10:34:38 +0300

Neil Gray (Chemstations) wrote on Thu, Jul 29, 2010 at 14:49:59 -0700:
> Hello.
>
> My subversion repository has some directories with restricted access
> configured by the authz file. This works very well, and checkouts with
> partial visibility.
>
> However if I need to make a branch, I cannot seem to do that with partial
> visibility. In all cases that I have tried the svn copy is stopped by an
> access denied error.
>
> Is there any way to normally branch and merge from directories that contain
> items that I do not have permission to see?
>
> Neil

If you attempt 'svn cp /foo /bar' and you can't see some of /foo's children,
I expect the copy to succeed but only copy what you have access to see. Is
that not the case?

I do not expect it to be possible to make a full recursive copy of a
directory that has children you can't see. (that would be a security hole:
who guarantees the authz is configured so those children remain
unviewable-by-you after the copy?)

So, if you want to branch that thing, do so as someone with full recursive read
permissions.
Received on 2010-07-30 09:36:36 CEST

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.