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

Re: Error "Can't find a temporary directory" on command "svn diff"

From: <luc.castillo_at_ineo.com>
Date: 2007-08-29 16:10:13 CEST

If I search "apr-tmp.XXXXXX" in strace(), I found it only in the good
system :

open("/tmp/apr-tmp.SojXId", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
write(3, "!", 1) = 1
close(3) = 0
unlink("/tmp/apr-tmp.SojXId") = 0

In the bad system, no strace() contains the string apr-tmp

luc.castillo@ineo.com wrote:
> Thanks for you response,
> None of the three environment variable (TMP, TEMP, TMPDIR) is defined.

Well, I gave you the search ordering, so you know how Subversion (via APR)
is looking for a temporary directory. Does your strace indicate that any
these directories listed is being tried? If none of the three environment
variables are set, you should see it looking in hard-coded directories.
Search your strace() output for "apr-tmp.XXXXXX", which is the name of the
temporary file APR creates to test writability.

C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
Received on Wed Aug 29 16:07:52 2007

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