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

Re: [PATCH] Re: svn: Can't check path '/.svn/wc.db': Permission denied

From: Peter Samuelson <peter_at_p12n.org>
Date: Wed, 31 Mar 2010 01:00:57 -0500

> Jon Delay writes:
> > I keep most of my file system under svn, so I have .svn directories all over
> > the place owned by root, chmod 700.
> >
> > Somewhere between 1.6.3 and 1.6.9, `svn checkout` started checking the root directory
> > for the existence of an .svn directory and trying to look in it.

[Peter Samuelson]
> ...and getting "Permission denied", and thus he cannot use 'svn checkout'
> in his home directory.
>
> The following (untested) patch will probably fix this - but is it a good
> idea? Are there situations where we _want_ to catch errors trying to
> detect a svn 1.7 wc in svn 1.6? I personally don't see why we need to.

Stefan reminded me of this issue, so I created branch 1.6.x-wc-ng-error
with the patch (tested now) and nominated it for 1.6.10.

Daniel Shahaf asked me the same question I quoted above: are there
specific errors we would _want_ to catch in is_inside_wc_ng()? I still
think the answer is probably no. It is not is_inside_wc_ng's job to
discover random errors related to accessing things in parent
directories, errors that likely have nothing to do with wc-ng or
Subversion.

...Either way, since Hyrum announced he's rolling 1.6.10 tomorrow, this
patch may or may not make it in time.

Peter
Received on 2010-03-31 08:01:32 CEST

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.