[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-29 18:21:37 CET

Hi,

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
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 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/
/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. 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 )

-- 
Regards,
Yuval Aviel.
-------------------------
www.MirageInnovations.com
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 Wed Nov 29 18:23:59 2006

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.