VBox: 3.0.6
Host: Win7 RC 64
Guest: Ubuntu 9.04 64
Mount line: sudo mount -t vboxsf -o rw,exec,uid=1000,gid=1000 projects /mnt/projects
Subversion: 1.6.5
When I try to perform a checkout or update with the svn client I run into a permissions error on a file move operation:
Code: Select all
svn: Can't move '.svn/tmp/entries' to '.svn/entries': Operation not permitted
$ ls -l .svn/entries
-r-xr-xr-x 1 user user 156 2009-10-03 01:40 .svn/entries
http://subversion.tigris.org/ds/viewMes ... geId=81629
So any thoughts on how to avoid this problem within vboxvfs? There seems to be a Samba solution in the linked thread..alan.wood@clear.net.nz wrote:Yes, that is correct. The Windows (and IIRC Cygwin) code path explicitlyHi
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.
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