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

Re: [Possible Bug] Can't checkout without file/directory ownership

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 23 Aug 2011 10:40:28 +0100

Stefan Sperling <stsp_at_elego.de> writes:

> On Mon, Aug 22, 2011 at 04:57:37PM -0600, Kevin Locke wrote:

>> $ svn co http://svn.apache.org/repos/asf/subversion/trunk testdir
>> svn: E000001: Can't set permissions on '<path>/testdir/.svn/tmp/svn-HZAmRw': Operation not permitted

> + err = file_perms_set2(tempfile, perms);
> + if (err)
> + {
> + /* Some POSIX systems (e.g. Linux) support filesystems which
> + * do not have POSIX semantics. The OS should ideally ignore
> + * attempts to tweak POSIX permission bits on such filesystems,
> + * but in some cases we get errors.
> + * E.g. NTFS on Linux will throw EPERM. Ignore this error and
> + * leave the permission bits in their current state. */
> + if (APR_STATUS_IS_EPERM(err->apr_err))
> + svn_error_clear(err);
> + else
> + return svn_error_trace(err);

Is APR_STATUS_IS_EPERM going to catch E000001?

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-08-23 11:49:13 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.