alan.wood_at_clear.net.nz wrote:
> Hi
> I have been looking at svn and samba recently, but only with the windows client.
> There are comments in the windows versions of apr_file_rename() regarding not
> being able to rename when the destination file is R/O on windows, you can do this on
> unix. The problem is probably in this area where the apr routines on a unix client
> expect the rename() library call to be able to rename over a read-only file irrespective
> of the file system referenced.
>
Yes, that is correct. The Windows (and IIRC Cygwin) code path explicitly
resets the read-only flag on a file before attempting a rename. The Unix
code path does not. This implies that, if your working copy is on a
mounted volume shared from a Windows server, things will most likely
break horribly.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-27 14:52:36 CEST