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

RE: "Can't read directory" - what is the way out?

From: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: 2007-08-09 07:44:18 CEST

Hi Ricky,

If this is an intermittent problem then please disregard my email.

A quick inspection shows that /svn/netperf2/db/transactions/127-1.txn is
owned by www-data with no "w" access to "others/world".

> www:/svn# ls -ld /svn/netperf2/db/transactions/127-1.txn
> drwxr-sr-x 2 www-data www-data 4096 Aug 8 13:38
> /svn/netperf2/db/transactions/127-1.txn

I assume your apache webserver is owned by user apache.

If the above are correct then the problem is your apache user is unable
to write to 127-1.txn.

Thanks
Lakshman

-----Original Message-----
From: Rick Jones [mailto:rick.jones2@hp.com]
Sent: Thursday, 9 August 2007 10:54 AM
To: users@subversion.tigris.org
Subject: "Can't read directory" - what is the way out?

I have another of my "commit seems to work, but client reports errors"
problems. This time I "know" (famous last words) it isn't the
commit_hook script gong belly-up trying to send email since I've
disabled that. The server is using:

www:/svn# svn --version
svn, version 1.4.2 (r22196)
    compiled Nov 10 2006, 11:26:11

access is via Apache 2.mumble:

www:/svn# apache2ctl -v
Server version: Apache/2.2.3
Server built: Jun 10 2007 11:53:22

and web_dav module (IIRC)

The client:

raj@tardy:~/netperf2_trunk$ svn --version svn, version 1.4.2 (r22196)
    compiled Nov 10 2006, 17:39:50

gave me:

raj@tardy:~/netperf2_trunk$ svn commit -m "initial stab at measure CPU
but only confidence on result change > "
Sending src/netlib.c
Sending src/netsh.c
Sending src/netsh.h
Sending src/nettest_bsd.c
Transmitting file data ....svn: Commit failed (details follow):
svn: MERGE request failed on '/svn/netperf2/trunk/src'
svn: Can't read directory '/svn/netperf2/db/transactions/127-1.txn':
Partial results are valid but processing is incomplete

There is indeed an /svn/netperf2/db/transactions/127-1.txn directory:

www:/svn# ls -ld /svn/netperf2/db/transactions/127-1.txn
drwxr-sr-x 2 www-data www-data 4096 Aug 8 13:38
/svn/netperf2/db/transactions/127-1.txn

with the contents:

www:/svn# ls -l /svn/netperf2/db/transactions/127-1.txn
total 20
-rw-r--r-- 1 www-data www-data 1776 Aug 8 13:38 node.1f.0.children
-rw-r--r-- 1 www-data www-data 181 Aug 8 13:38 node.8.u
-rw-r--r-- 1 www-data www-data 178 Aug 8 13:38 node.i.y
-rw-r--r-- 1 www-data www-data 174 Aug 8 13:38 node.j.z
-rw-r--r-- 1 www-data www-data 189 Aug 8 13:38 node.k.10
-rw-r--r-- 1 www-data www-data 0 Aug 8 13:38 props

I did poke around a bit in the FAQ, perhaps not deep enough to find an
answer, hence this posting.

thanks,

rick jones
http://www.netperf.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

=======================================================
The information contained in this email and any files attached may
be confidential information to the intended recipient and may be
the subject of legal professional privilege or public interest immunity.

If you are not the intended recipient, any use, disclosure or copying is
unauthorised.

If you have received this document in error please telephone 1300 307 082

*******************************************************************
This footnote also confirms that this email message has been swept
for the presence of computer viruses.
*******************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 9 07:56:11 2007

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