public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: rename syscall failed with EACES and os returns NT_STATUS_TRANSACTIONAL_CONFLICT
Date: Wed, 19 Oct 2016 14:47:00 -0000	[thread overview]
Message-ID: <20161019120108.GF4801@calimero.vinschen.de> (raw)
In-Reply-To: <22994d33-a783-b8eb-30d2-d3121d655a39@imbrian.org>

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

On Oct  5 17:56, Rinrin wrote:
> Hi:
>   I'm trying to run some unittests with python os.rename function. But
> rename syscall failed with error code 13. From strace output I can see
> windows OS returns NT_STATUS_TRANSACTIONAL_CONFLICT(0xC0190001).
> 
> python2.7 2576 unlink_nt: Opening
> \??\C:\Portable\PrivData\cygwin\tmp\tmp4enMfR for delete failed, status
> = 0xC0190001
> 
>   see http://pastebin.com/iTwDN82S for full log of strace output.
>   I'm on Win 10 x64, Cygwin dll version is 2.6.0, still trying to make a
> demo to represent this issue.

This is weird.  A transaction is only started by Cygwin if the file
has the R/O DOS bit set, and Cygwin does not set this bit (unless
you use FAT or the "noacl" mount flag.

If this error is emitted for files without htis bit set, it's not
Cygwin's fault in the first place.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2016-10-19 12:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-05 18:14 Rinrin
2016-10-19 14:47 ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161019120108.GF4801@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).