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

Checkout to SAMBA 3.5.6 share

From: Felix <fb_at_ltec.ch>
Date: Thu, 03 Mar 2011 12:26:44 +0100

Hello,

I use Tortoise SVN 1.6.12 on windows. After a recent upgrade from Debian
Lenny to Squeeze (including an upgrade of SAMBA from 3.2.5 to 3.5.6)
checkouts to shares on the SAMBA server fail with a message similar to this:

Error: Can't create directory '\\jupiter\Temp\svncheckout\.svn': Cannot
Error: create a file when that file already exists.

After closing the error message I see that the directory '.svn' has be
created, but it is empty. Using the command 'smbstatus' on the server
that should have received the checkout shows the following:

Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
21964 1000 DENY_NONE 0x82 WRONLY NONE /srv/samba/file-shares/tmp svncheckout/.svn Thu Mar 3 12:02:19 2011

Now I delete the directory '.svn' in windows explorer. It disappears. I then
let the windows explorer refresh the view and the directory '.svn' appears again!
Trying to access this '.svn' directory ends with error messages saying that
the access is denied. Using the command 'smbstatus' on the server that should
have received the checkout still shows the line shown above.

I guess that something with the locking on the SAMBA server does not work the way
it did with the 'old' SAMBA version. It looks like 2 locks are set on the '.svn'
directory. Deleting the directory seems to remove the first lock and make the
second 'appear'; sounds weird, doesn't it?
Creating a checkout to a local disk or to a share running SAMBA 3.2.5 works like
charm. I doubt this is a Tortoise SVN problem but I do not have any other software
causing problems with the new SAMBA server.

Just to make it clear: the SVN repository itself does of course not reside on
a SAMBA file share.

Can anybody give me hint about what I should try next, including changing a
setting of the SAMBA server that is probably known to create trouble with
Tortoise SVN?

many thanks, Felix

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2709243

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-03 12:36:44 CET

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

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