Re: [PATCH] issue #3242: fix another occurence
C. Michael Pilato wrote:
> Roderich Schupp wrote:
>> the fixes for issue 3242 ("Subversion demands unnecessary access
>> to parent directories of operations") currently in trunk do not address
>> scenario gicen below.
>> Fix another scenario related to issue #3242:
>> - user has no access in repo root, only in /project
>> - someone else renames some file below /project and commits
>> - user tries to update his working copy of /project
>> (that still has the old name)
>> - update deletes the old name and then fails with
>> "access to 'http://host/repo-root' forbidden"
>> * subversion/libsvn_client/update.c
>> (file_fetcher): When opening an auxiliary session, don't open it at the
>> repository root (where the user might not have read permission), but
>> at the dirname of the file to fetch.
> Ooh! Good catch. I'm taking a look at these patches right now.
Melikes. Committed with minor tweaks in r933299.
The minor tweaks were a comment change in the ff_baton structure, some
indentation tweaks, and then the use of the operation/callback pool instead
of the more permanent baton pool for URL construction.
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on 2010-04-12 18:22:08 CEST
This is an archived mail posted to the Subversion Dev