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

Re: general comments on even more permissions issues

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-02-14 18:13:12 CET

"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

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.