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

Using FC6 can't do a svn import on a SAMBA/CIFS share

From: jf simon <jfs_at_themis.com>
Date: 2007-06-21 19:43:38 CEST

Hi,

i want to have my repositories on a samba share that i mount from my FC6
linux host. on the first "svn import" on a newly created repository, i
get the following error:

(this seems to be same issue as
http://svn.haxx.se/dev/archive-2006-12/0044.shtml )

[eng@fw-2 tintin_data]$ svn import /tmp/pibs/pibs1.05.ppc64.3.11
file:///tintin_data/repo1/ -m "1st import"
Adding /tmp/pibs/pibs1.05.ppc64.3.11/kernel
Adding /tmp/pibs/pibs1.05.ppc64.3.11/kernel/keylib
Adding /tmp/pibs/pibs1.05.ppc64.3.11/kernel/keylib/version.c
svn: Can't unlock prototype revision lockfile for transaction '0-1':
Permission denied
33G 2.7G 131G 2% /tintin_data

[eng@fw-2 tintin_data]$ df -h
Filesystem Size Used Avail Use% Mounted on
...
//192.168.44.5/datadirs
                       133G 2.7G 131G 2% /tintin_data

if i do a "strace" i can see that the problem is on a "rmdir"

close(4) = 0
rmdir("/tintin_data/repo1/db/transactions/0-1.txn") = -1 EEXIST (File
exists)
write(2, "svn: Can\'t unlock prototype revi"..., 87svn: Can't unlock
prototype revision lockfile for transaction '0-1': Permission denied
) = 87
close(3) = 0
close(5) = 0
munmap(0xb7d0a000, 212992) = 0
munmap(0xb7d3e000, 212992) = 0
exit_group(1) = ?
Process 8698 detached

Here are the files in the repo, after the problem:

[eng@fw-2 tintin_data]$ find repo1
repo1
repo1/dav
repo1/locks
repo1/locks/db.lock
repo1/locks/db-logs.lock
repo1/hooks
repo1/hooks/start-commit.tmpl
repo1/hooks/pre-commit.tmpl
repo1/hooks/pre-revprop-change.tmpl
repo1/hooks/pre-lock.tmpl
repo1/hooks/pre-unlock.tmpl
repo1/hooks/post-commit.tmpl
repo1/hooks/post-lock.tmpl
repo1/hooks/post-unlock.tmpl
repo1/hooks/post-revprop-change.tmpl
repo1/conf
repo1/conf/svnserve.conf
repo1/conf/passwd
repo1/conf/authz
repo1/README.txt
repo1/db
repo1/db/fs-type
repo1/db/revs
repo1/db/revs/0
repo1/db/revprops
repo1/db/revprops/0
repo1/db/transactions
repo1/db/transactions/0-1.txn
repo1/db/transactions/0-1.txn/cifs7f5
repo1/db/current
repo1/db/write-lock
repo1/db/uuid
repo1/db/format
repo1/format
[eng@fw-2 tintin_data]$
[eng@fw-2 tintin_data]$

Here are the premissions on the offending files:

ls -l db/transactions/0-1.txn/cifs7f5
-rwxrwx--- 1 eng users 0 Jun 21 10:25 db/transactions/0-1.txn/cifs7f5

[eng@fw-2 repo1]$ ls -l db/transactions/0-1.txn/
total 0
-rwxrwx--- 1 eng users 0 Jun 21 10:25 cifs7f5

[eng@fw-2 repo1]$ ls -l db/transactions/
total 0
drwxrwxr-x 2 eng users 0 Jun 21 10:25 0-1.txn

Here is the subversion version:

eng@fw-2 repo1]$ svn --version
svn, version 1.4.3 (r23084)
    compiled Mar 23 2007, 09:29:55

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

Any ideas?

Thanks a lot,

-- 
Best regards,
_______________________________________
jean-francois simon - themis computer
5, rue irene joliot curie
38330 eybens - france
+33 (0)4 76 14 77 85 - jfs@themis.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 21 19:49:40 2007

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.