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

Re: Leopard + Samba permissions issue?

From: Branko Čibej <brane_at_xbc.nu>
Date: Sat, 27 Sep 2008 14:52:19 +0200

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

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.