public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: rm -f behavior
Date: Thu, 24 Apr 2014 16:45:00 -0000	[thread overview]
Message-ID: <20140424164532.GV2339@calimero.vinschen.de> (raw)
In-Reply-To: <20140424163624.GU2339@calimero.vinschen.de>

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

On Apr 24 18:36, Corinna Vinschen wrote:
> On Apr 24 11:34, Douglas Coup wrote:
> > If I do "which rm" and "which chmod", it shows that both commands
> > resolve to the Cygwin binaries.
> > 
> > The attached rm.notworking.trace file is from an "rm -f dac.txt"
> > command that gets the permission denied error; i.e., when the
> > permissions on the file are 444.  Things seem to start going south
> > at entry 34276.
> 
> Gosh, how many ways to fail does transactional NTFS know?
> 
> >    20   34002 [main] rm 7580 unlink_nt: Trying to delete \??\C:\mydocs\temp\dac.txt, isdir = 0
> >   274   34276 [main] rm 7580 unlink_nt: Opening \??\C:\mydocs\temp\dac.txt for removing R/O failed, status = 0xC0190052
> 
> So you're getting a transaction error which isn't covered by the Cygwin
> DLL yet.  The error is STATUS_TRANSACTIONMANAGER_NOT_ONLINE.  Whatever
> this means.  How on earth can the TxF manager be "not online"?!?
> Unfortunately there's only very sparse information about this status
> code available.

Oh, btw., the associated Windows error code is 6719, and the english
error message is this:

  The object specified could not be created or opened, because its
  associated TransactionManager is not online.  The TransactionManager
  must be brought fully Online by calling RecoverTransactionManager to
  recover to the end of its LogFile before objects in its Transaction or
  ResourceManager namespaces can be opened.  In addition, errors in
  writing records to its LogFile can cause a TransactionManager to go
  offline.

> Before I make any changes to Cygwin, I'll try to get some info from
> the Microsoft side of things...

http://social.msdn.microsoft.com/Forums/en-US/11bfd4ca-f7b7-45cd-a3bc-2ebce60b734c/


Corinna

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

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

  reply	other threads:[~2014-04-24 16:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23 20:43 Douglas Coup
2014-04-24 14:23 ` Corinna Vinschen
2014-04-24 15:35   ` Douglas Coup
2014-04-24 16:36     ` Corinna Vinschen
2014-04-24 16:45       ` Corinna Vinschen [this message]
2014-04-24 17:10       ` Douglas Coup
2014-04-25 12:16       ` Corinna Vinschen
2014-04-25 14:23         ` Douglas Coup
2014-04-25 14:50           ` Corinna Vinschen
2014-04-25 15:30             ` Douglas Coup
2014-04-25 15:47               ` Corinna Vinschen
2014-04-25 15:57                 ` Corinna Vinschen
2014-04-25 18:12                 ` Douglas Coup
2014-04-25 19:16                   ` Corinna Vinschen
2014-04-25 19:52                     ` Douglas Coup
2014-04-25 19:59                       ` Corinna Vinschen

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=20140424164532.GV2339@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).