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
> 7 7 SHARE_READ | SHARE_WRITE
> 5 4 SHARE_READ
>
> 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.
DJ
**********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email
in error please notify the system manager.
This footnote also confirms that this email message has been
swept by MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 27 19:10:28 2003