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

svn fails to import a project to a cifs-mounted repository

From: Yuval Aviel <yuvala_at_mirageinnovations.com>
Date: 2006-12-04 16:04:16 CET

Hi,

I'd be grateful if someone can reproduce or confirm this bug.

I am trying to create and use a repository on a shared disk in our company.
I am using FC 6, and the rest of the company use Windows.
The shared disk is a Windows shared NTFS partition, that I mount using cifs.
Here is the line from /etc/fstab:

//miragesrv/applic /mnt/applic cifs
user=yuvala,password=*****,uid=500,gid=500
,workgroup=MIRAGE 1 2

Problem:
==========
I can read/write/create/delete files/directories on this partition.
I can also easily create a repository:

svnadmin create /mnt/applic/repo

However, when I try to import a project, I get:

fresnel:wc > svn import /tmp/proj/ file:///mnt/applic/repo/ -m "initial
import"
Adding /tmp/proj/trunk
Adding /tmp/proj/trunk/Tolerances
Adding /tmp/proj/trunk/Tolerances/get_fun_ranges.m
svn: Can't unlock prototype revision lockfile for transaction '0-1':
Permission denied

Analysis:
==========
Repeating the same steps on a local folder, finished successfully. So it is a
file system issue.

I compared the two directories; that is on the cifs (/mnt/applic/repo) and the
local one. It seems that the following directory is the problematic one:

fresnel:wc > ls -Rlt /mnt/applic/repo/db/transactions/
/mnt/applic/repo/db/transactions/:
total 0
drwxrwxrwx 1 aviel aviel 0 Nov 28 12:54 0-1.txn

/mnt/applic/repo/db/transactions/0-1.txn:
total 0

This directory does not exist in the local repository, so I assume it holds
info of the transaction being made.
Presumably, svn fails to delete/change this directory, even though all
permissions and ownership are OK. I can confirm this by manually removing
this directory.

Any suggestions?

svn 1.4.2, (FC 6 with a cifs mounted NTFS partition from a Windows Server )

-- 
Regards,
Yuval Aviel.
-------------------------
www.MirageInnovations.com
054 7-56-56-52
-------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 4 16:07:09 2006

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.