Stefan Sperling <s...@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

Reply via email to