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

Re: Windows XP "Access denied" svn_io_rename

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-10-27 22:56:24 CET

D.J. Heap wrote:

> rbb@rkbloom.net wrote:
> [snip]
>> If apr_open on Windows is taught to respect the group and world
>> permissions, this problem can be solved. Currently apr_open on Windows
>> always opens everything share_read and share_write. This should be
>> conditional based on group/world permissions (least permissive wins).
>> For example:
>> group perms world perms share_mode
>> 7 0 0
>> and so on.
>> If you make this change, you can solve this bug with straight APR calls.
>> Ryan
> From some quick testing, it looks like FILE_SHARE_DELETE is also
> required for MoveFileEx to rename a file that is currently open. It
> does work even if I have the file open, though. I haven't tried it on
> Win9x.

It won't work on Win9x; but then, what will? Maybe we should start
thinking about yanking support for the 9x series...

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 27 22:59:32 2003

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.