[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


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
,workgroup=MIRAGE 1 2

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
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

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/
total 0
drwxrwxrwx 1 aviel aviel 0 Nov 28 12:54 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 )

Yuval Aviel.
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.