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

Problmes with Working Copy on NFS space

From: Achim D. Brucker <brucker_at_informatik.uni-freiburg.de>
Date: 2003-09-11 19:54:34 CEST

Hi,
I guess this problem is not a fault of svn, but I can only reproduce this
error using svn. So any help in tracking the problem down are welcome.

Are there any known problems with working copies on NFS space (I searched
in the Issue tracker and found nothing).
I have the following strange problem running a svn (Revision 7003).
The Repository is hosted on a local disk and I try to checkout this
repository into a working copy which is hosted on an nfs-mounted file
system (a GNU/Linux based file-server, sadly not administrated by me).
Whenever I try this, I'm getting a error like
"svn_io_set_file_read_only: failed to set file ... read-only".
The file on which this error occours is not the same during different
attemps of checking the repository out. E.g.:

> svn checkout file:///local/server/repositories/infsec/ trunk/src/ofmc
...
[checking out ca. 100 files without error]

A trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig/user-authenticity.pdf
A trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig/PGPmessage.fig
svn: Problem running log
svn: in directory 'trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig'
svn: start_handler: error processing command 'readonly' in
     'trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig'
svn: No such file or directory
svn: svn_io_set_file_read_only: failed to set file
     'trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig/.svn/text-base/
     double-encrypt.fig.svn-base' read-only

Which leads to an inconsisten working copy. I tried do strace the svn call
which leads, among others, to the following information:

stat64("trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig/.svn/
        text-base/double-encrypt.fig.svn-base", 0xbfffae00) = -1 ENOENT (No such
        file or directory)
rename("trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig/.svn/tmp/text-base/
       double-encrypt.fig.svn-base", "trunk/src/ofmc/trunk/teaching/ss03/infsec/
       lec/fig/.svn/text-base/double-encrypt.fig.svn-base") = 0
stat64("trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig/.svn/text-base/
       double-encrypt.fig.svn-base", {st_mode=S_IFREG|0600,
       st_size=1105, ...}) = 0
chmod("trunk/src/ofmc/trunk/teaching/ss03/infsec/lec/fig/.svn/text-base/
     double-encrypt.fig.svn-base", 0400) = -1 ENOENT (No such file or directory)

If I read this correctly, svn is able to rename the tmp-file to the final
destination and can also do the stat call successfull, but the following chmod
call fails.

If I check out the repository to a local disk drive the error does not occour.

My first idea was, that this is a caching/network related problem but I have
no idea how to track this further down. I happy looking forward to any
ideas how I can track this problem further down.

Achim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 11 19:55:32 2003

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.