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

Re: svn checkout crush on mapped samba share from windows client

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Fri, 01 Feb 2008 09:04:01 -0500

Evert Lammerts wrote:
> The problem seems to be about permissions. When I checkout my branch to
> my workspace, it creates the .svn folder and its files with the right
> permissions (and owner), but after that i get a very consistent:

This isn't a Subversion problem; it is a Samba problem. The strong
recommendation has always been to stay away from network-mounted working
copies, precisely because there are frequent problems due to the
underlying filesystem that aren't within Subversion's control. You may
have better luck with NFS (for no other reason than it has been around a
lot longer and the various implementations have dealt with these
problems longer).

Here's a possible workaround, since you apparently have SSH access to
the server. SSH to the server and check out the files into the same
filesystem that is exported using Samba (i.e. a local to the server
checkout). Edit the files from your Windows laptop over the Samba link,
but use ssh to the server to perform any commits/updates. Depending on
your creativity, you could even write a series of wrapper scripts that
use ssh to perform all of the repository manipulation from the comfort
of your Windows laptop.

Of course, you could also use an X-Windows client (cygwin?) to remotely
connect to the server and do all of the file manipulations "locally to
the server", but you'd have to leave your Windows editor behind. At
that point, you might as well reformat your laptop and switch to
Linux... ;-)

HTH

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-01 15:04:27 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.