"Jay Freeman \(saurik\)" <saurik@saurik.com> writes:
> OK, the patch I sent a few hours ago definitely helps, but the problem
> still exists. Another way to hit it is to "svn add" a directory and
> then "svn remove" it. You get:
>
> d:\code\ninetjer\external\subversion\subversion\libsvn_wc\adm_files.c:13
> 19
> apr_error: #22505, src_err 0 : <Access is denied. >
> error removing administrative directory for private
>
> [...]
>
> I'm starting to think that this is more of an APR issue, and we should
> get APR to add "force" flags to the various APR file_io functions.
> However, as the usage of that force flag will likely have slightly
> different meanings on different platforms (such as here, where you
> wouldn't need force to remove a read-only file on Unix), it might seem
> very un-cross platform.
Maybe it's better just to define an unconditional behavior for
apr_dir_remove_recursively() and make sure it behaves that way for all
platforms? Such as: does everything possible to remove the tree, no
matter whether the tree is marked read-only.
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:07 2006