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

From: Yuval Aviel <yuvala_at_mirageinnovations.com>
Date: 2006-11-28 12:59:19 CET


I am trying to create and use a repository on a shared disk in our company.
I am using FC 6, and the rest use Windows.
The shared disk is a Windows shared 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 but with a local folder, finished successfully.
I compared the two directories; that of 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. It is not clear why
since all permissions and ownership are OK. I can also remove this directory.

Any suggestions?

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

Yuval Aviel.
054 7-56-56-52
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 28 13:01:12 2006

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