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

Re: svn cleanup --remove-unversioned throws E720005 in Windows When Attempting To Delete a Junction

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Tue, 5 May 2020 20:31:50 -0400

On Tue, May 5, 2020 at 4:36 PM Ace Olszowka <aolszowka_at_gmail.com> wrote:
> When attempting to perform `svn cleanup --remove-unversioned` in
> Windows with a Working Copying that contains a Junction (created on an
> NTFS partition via `mklink /J`
> [https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink])
> subversion throws E720005 stating that access is denied.

Hello Ace,

Thank you for reporting this, and with detailed version information.
That is very helpful.

If you make a junction pointed at a different folder, not the %TEMP%
folder, does it still fail to cleanup unversioned items?

Also, do you (or someone else) happen to have a Subversion client
(preferably 1.13) that is built with APR 1.6.5 (or any APR prior to
1.7.0) and if so, could you test this scenario with that client and
let us know if it still fails?

Asking because I'm not sure if this issue is related to the same
cause(s), but we have some other known issues with Windows Junctions,
that if I understand correctly, have begun since changes in APR 1.7.0
related to the handling of junctions. We have an ongoing discussion
with the APR devs about what changes need to be made in Subversion
and/or APR to solve those issues. Your report potentially offers some
more insights...

Thanks again,
Received on 2020-05-06 02:32:05 CEST

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