[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: Blair Zajac <blair_at_orcaware.com>
Date: 2002-02-14 22:20:42 CET

"Jay Freeman (saurik)" wrote:
> The problem here is that the code is calling
> apr_dir_remove_recursively() to remove the .svn directory.
> Unfortunately, there are read-only files in there, so that isn't going
> to work. Now, svn_io_set_file_read_write() just isn't going to cut the
> butter in this situation. We could add another function that
> recursively walks to the directory structure using APR and runs
> svn_io_set_file_read_write() on every file and directory it comes
> across, but I can't imagine that would be a "good" way to solve this
> problem.

What about having a function that recursively walks the directory
structure and just calls a supplied callback function with the file
name. This looks like a simple way to implement this and it could
easily belong in APR.

Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
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:08 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.