delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/07/06:47:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_RW,TW_WX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: Setup 2.693 unable to replace files through reboot
References: <op DOT vaq3wunh1e62zd AT balu DOT cs DOT uni-paderborn DOT de> <4BBB8CE6 DOT 2090203 AT gmail DOT com> <4BBC44B9 DOT 3000505 AT gmx DOT de>
Date: Wed, 07 Apr 2010 12:46:57 +0300
MIME-Version: 1.0
From: "Matthias Andree" <matthias DOT andree AT gmx DOT de>
Message-ID: <op.vasf8jqb1e62zd@balu.cs.uni-paderborn.de>
In-Reply-To: <4BBC44B9.3000505@gmx.de>
User-Agent: Opera Mail/10.51 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

>> a) can't work on network drives
>> b) needs write access to the registry key:
>> "HKLM\SYSTEM\CurrentControlSet\Control\Session
>> Manager\PendingFileRenameOperations"
>> c) may fail if "the System volume is a basic volume [ ... and ... ] the
>> destination drive or the source drive is located on a dynamic volume"

Further information, this Key appears to exist only if such operations are  
actually pending.

I triggered a re-install of cygwin 1.7.3-1 again, and got this in the key:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
...
"PendingFileRenameOperations"=hex(7):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,\
   63,00,79,00,67,00,77,00,69,00,6e,00,5c,00,62,00,69,00,6e,00,5c,00,63,00,79,\
   00,67,00,77,00,69,00,6e,00,31,00,2e,00,64,00,6c,00,6c,00,2e,00,6e,00,65,00,\
   77,00,00,00,21,00,5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,63,00,79,00,67,\
   00,77,00,69,00,6e,00,5c,00,62,00,69,00,6e,00,5c,00,63,00,79,00,67,00,77,00,\
   69,00,6e,00,31,00,2e,00,64,00,6c,00,6c,00,00,00,5c,00,3f,00,3f,00,5c,00,43,\
   00,3a,00,5c,00,63,00,79,00,67,00,77,00,69,00,6e,00,5c,00,75,00,73,00,72,00,\
   5c,00,73,00,62,00,69,00,6e,00,5c,00,63,00,79,00,67,00,73,00,65,00,72,00,76,\
   00,65,00,72,00,2e,00,65,00,78,00,65,00,2e,00,6e,00,65,00,77,00,00,00,21,00,\
   5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,63,00,79,00,67,00,77,00,69,00,6e,\
   00,5c,00,75,00,73,00,72,00,5c,00,73,00,62,00,69,00,6e,00,5c,00,63,00,79,00,\
   67,00,73,00,65,00,72,00,76,00,65,00,72,00,2e,00,65,00,78,00,65,00,00,00,00,\
   00

Or, more readably:

\??\C:\cygwin\bin\cygwin1.dll.new
!\??\C:\cygwin\bin\cygwin1.dll
\??\C:\cygwin\usr\sbin\cygserver.exe.new
!\??\C:\cygwin\usr\sbin\cygserver.exe

However, after a reboot I still have these files:

$ ls -l /bin/cygwin1.dll*
-rwxr-xr-x 1 Administratoren None 2.5M 2010-04-03 11:29 /bin/cygwin1.dll*
-rwxr-xr-x 1 mandree         root 2.5M 2010-04-03 11:29  
/bin/cygwin1.dll.new*
$ ls -l /usr/sbin/cygserver.exe*
-rwxr-xr-x 1 mandree root 150K 2010-04-03 11:29 /usr/sbin/cygserver.exe*
-rwxr-xr-x 1 mandree root 150K 2010-04-03 11:29  
/usr/sbin/cygserver.exe.new*

I would have thought that the .new files were gone after the reboot, or  
these got somewhat more appropriate owners (I always run setup.exe as  
Administrator, and have it install "for all users")...

-- 
Matthias Andree

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019