X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=PWEZjWLq1FrBrWDQCR66tFGYEyiy7rjzEhcCC2Tgpse6xRwyvafLC vtyF61ekqoeK7BRrDPAN5o9fLgCIBY88d/Cuold9cJuFvW2uzZyG7VE3pUnUI21S kh8820HJpDCORSJkKkS/8UUTMi16Kyci8kMbPdJ5s5dmJBQQyAXK70= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=5iBSqDe32unnvoHytT28Z7feP1g=; b=IuJde7rCbhs56NTrEgbKmXEpknBV ep6VOZlQ0Xjk+U5bxYync2GLGHVKVI+v0H216vBlEe4RkK+QssTVeysWn7SPM35d Wvd/GmnC68FHyAt2cmCbV8+KizMk+UC1LF6S8GtzOZxIXcezEMbWLxOdg1NKCVN3 pKP6yKGLlPbEf1o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.5 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Opening, Hx-languages-length:1028, DOS, transaction X-HELO: drew.franken.de Date: Wed, 19 Oct 2016 14:01:08 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: rename syscall failed with EACES and os returns NT_STATUS_TRANSACTIONAL_CONFLICT Message-ID: <20161019120108.GF4801@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <22994d33-a783-b8eb-30d2-d3121d655a39 AT imbrian DOT org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8JPrznbw0YAQ/KXy" Content-Disposition: inline In-Reply-To: <22994d33-a783-b8eb-30d2-d3121d655a39@imbrian.org> User-Agent: Mutt/1.7.0 (2016-08-17) --8JPrznbw0YAQ/KXy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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). >=20 > python2.7 2576 unlink_nt: Opening > \??\C:\Portable\PrivData\cygwin\tmp\tmp4enMfR for delete failed, status > =3D 0xC0190001 >=20 > 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 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --8JPrznbw0YAQ/KXy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYB2CEAAoJEPU2Bp2uRE+gWqoP/R+fFJU00ar5mJahTMPYzUj3 aIqBi/Njp52Wwt337BbTkStd2jvk8XPKDVr5CLF0wRbuKBSgituPYjssK4Shnnhc B5JQ6xtXzmMNgCMP8TxhdV3nV3iecz3JVMROb7aHaTyPiK+rRd+JqEDhcyxKIWDg 4OK3KdWnHsjUeiikiGMEjUTmFgHw75s5wFn6DFQYwlPidj7Rh+7stauvoTAlsl5A 7svTFbRhJ7LTqxwiMkv9ak3lN/KvuMszm5205/krYRJXgSZXBf2SHpZJ2+K0v/KX TeJjRpy+F3eMiUVKP2p3FdPtQ2Y//VO53LjxQl5EgsV/9PVuoQiwHf/oh8JoxRiH 8Jsw1kCSYFYJ8e8sH2P6UXw/7P/jgVigNlgQHIMFBiO5IhysdmMiaXBU52pNOReR WzIRCdAM6kS1BBMBxa4ovAcUR4jyc704wmUXcOSy7Fqm+5i+IQX7CExZsg8B612B UE20wB+uU5CnNiAPgcH+OxEsrh54kcBejFHkXrkS3UFwTjJLqwPN0KBvGYbFbPI/ 6B+abJezV/ayN6JSVWK0dWl8/cJAbYW7Ozm2tgp+iuwWcmAOPg0tRreIkMI619z/ RzX+qWVmlvTkTvJTCriBOhFu0zrqNJtmuQz7gNRgTyGHcgjcr/5jkuzK+SADwoEX GlFVzSk6s/p6tMv+CFLu =6KUw -----END PGP SIGNATURE----- --8JPrznbw0YAQ/KXy--