www.delorie.com/archives/browse.cgi | search |
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:message-id:date:subject:from:to:mime-version | |
:content-type:content-transfer-encoding; q=dns; s=default; b=GPN | |
9gC2CJ8vOaccVdw0ictOqhnm5YioHJd6rkArgahQiEh7JafV3Ui/ADpmYDazaLjp | |
sTOGTMEIeaGAoCI+xB/QUu/etSU9RfKi9Nwtx4CqWmoJUX3Ge4+ki6wWTqlBiA0l | |
+BawiaR7mRzTZx9BWEVUj9EMgw/vgdkYSZ725U4s= | |
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:message-id:date:subject:from:to:mime-version | |
:content-type:content-transfer-encoding; s=default; bh=O53krdtaJ | |
ePEGvDzOEccW/qBIzQ=; b=o8sVHZ10BEP+C+fn4hJZN5c3C5c+tCfBW6VhYqlT4 | |
VIuSqi3KKMz9lpHZXhl2XvPKQ6Zn0Zq6oC6nmgL4AwUGbyr6sis0yBAIlZr5bXWG | |
eqo5NSaUrj9wnFN52hUQLyUHBXWcvGSAKPNoV/CPb42MhvMsqtgorNkeccEzACe+ | |
pk= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=0.4 required=5.0 tests=AWL,BAYES_50,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | smtp-vbr11.xs4all.nl |
Message-ID: | <849f1f5420ebf77d7a591d6c9b6bfa4b.squirrel@webmail.xs4all.nl> |
Date: | Sat, 10 May 2014 15:42:12 +0200 |
Subject: | Baffled: is it Cygwin (64-bits) or Windows that causes the invocation of regedit (from bash) to fail? |
From: | "Houder" <houder AT xs4all DOT nl> |
To: | cygwin AT cygwin DOT com |
User-Agent: | SquirrelMail/1.4.18 |
MIME-Version: | 1.0 |
Hi, At my place I have installed both versions of Cygwin (i.e. 32-bits and 64-bits) -- of course, in different places. As "some" of you will have the "same" setup, I would like you to confirm the following (UNexpected, to me) result: - I canNOT invoke regedit from 64-bits bash (Yes, I can if bash has been invoked in ELEVATED mode) - I can invoke regedit from 64-bits bash (not elevated) as follows: cygstart regedit - however, I can invoke regedit from 32-bits bash (not elevated) ... - likewise, I can invoke regedit from 64-bits cmd (not elevated) ... By UNexpected result I mean: I cannot explain why I canNOT invoke regedit from 64-bits bash ... My installation in general: - stand-alone installation (i.e. not connected to a domain) - standard passwd and group files - nsswitch.conf: passwd: file, group: files, db_enum: files ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- Using my 64-bits Cygwin installation (MinTTY, bash) at e:/Cygwin64: 64-@@ uname -a CYGWIN_NT-6.1 Seven 1.7.30s(0.272/5/3) 20140426 17:41:38 x86_64 Cygwin 64-@@ echo $PATH /usr/local/bin:/usr/bin:/drv/c/WINDOWS/system32:/drv/c/WINDOWS:/drv/c/WINDOWS/System32/Wbem:/home/Henri/bin 64-@@ pwd /home/Henri 64-@@ which -a regedit /drv/c/WINDOWS/regedit 64-@@ ls -l /drv/c/WINDOWS/regedit -rwxrwx---+ 2 TrustedInstaller TrustedInstaller 427008 Jul 14 2009 /drv/c/WINDOWS/regedit 64-@@ stat /drv/c/WINDOWS/regedit File: `/drv/c/WINDOWS/regedit' Size: 427008 Blocks: 420 IO Block: 65536 regular file Device: 12f0a5c0h/317760960d Inode: 281474976726615 Links: 2 Access: (0770/-rwxrwx---) Uid: (4294967294/TrustedInstaller) Gid: (4294967294/TrustedInstaller) Access: 2009-07-14 01:27:10.125698800 +0200 Modify: 2009-07-14 03:39:29.639000000 +0200 Change: 2013-10-16 16:50:39.470163200 +0200 Birth: 2009-07-14 01:27:10.125698800 +0200 64-@@ regedit # regedit FAILS TO OPEN ***** E:\Cygwin64\bin\bash: /drv/c/WINDOWS/regedit: Permission denied 64-@@ cygstart regedit # regedit opens normally ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- Using my 64-bits Cygwin installation (MinTTY, >>>>> ELEVATED <<<<< bash) at e:/Cygwin64 64-@@# uname -a CYGWIN_NT-6.1 Seven 1.7.30s(0.272/5/3) 20140426 17:41:38 x86_64 Cygwin 64-@@# echo $PATH /usr/local/bin:/usr/bin:/drv/c/WINDOWS/system32:/drv/c/WINDOWS:/drv/c/WINDOWS/System32/Wbem:/home/Henri/bin 64-@@# pwd /home/Henri 64-@@# which -a regedit /drv/c/WINDOWS/regedit 64-@@# ls -l /drv/c/WINDOWS/regedit -rwxrwx---+ 2 TrustedInstaller TrustedInstaller 427008 Jul 14 2009 /drv/c/WINDOWS/regedit 64-@@# stat /drv/c/WINDOWS/regedit File: `/drv/c/WINDOWS/regedit' Size: 427008 Blocks: 420 IO Block: 65536 regular file Device: 12f0a5c0h/317760960d Inode: 281474976726615 Links: 2 Access: (0770/-rwxrwx---) Uid: (4294967294/TrustedInstaller) Gid: (4294967294/TrustedInstaller) Access: 2009-07-14 01:27:10.125698800 +0200 Modify: 2009-07-14 03:39:29.639000000 +0200 Change: 2013-10-16 16:50:39.470163200 +0200 Birth: 2009-07-14 01:27:10.125698800 +0200 64-@@# regedit # regedit opens normally 64-@@# cygstart regedit # dito ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- Using my 32-bits Cygwin installation (MinTTY, bash) at e:/Cygwin @@ uname -a CYGWIN_NT-6.1-WOW64 Seven 1.7.30s(0.272/5/3) 20140426 17:41:38 i686 Cygwin @@ echo $PATH /usr/local/bin:/usr/bin:/drv/c/WINDOWS/System32:/drv/c/WINDOWS:/drv/c/WINDOWS/System32/Wbem:/home/Henri/bin @@ pwd /home/Henri @@ which -a regedit /drv/c/WINDOWS/System32/regedit /drv/c/WINDOWS/regedit @@ ls -l /drv/c/WINDOWS/System32/regedit -rwxrwx---+ 2 TrustedInstaller TrustedInstaller 398336 Jul 14 2009 /drv/c/WINDOWS/System32/regedit # a different file than before, apparently ... @@ stat /drv/c/WINDOWS/System32/regedit File: `/drv/c/WINDOWS/System32/regedit' Size: 398336 Blocks: 392 IO Block: 65536 regular file Device: 12f0a5c0h/317760960d Inode: 281474976748756 Links: 2 Access: (0770/-rwxrwx---) Uid: (4294967294/TrustedInstaller) Gid: (4294967294/TrustedInstaller) Access: 2009-07-14 01:17:08.803392200 +0200 Modify: 2009-07-14 03:14:30.457000000 +0200 Change: 2013-10-10 07:23:25.639492800 +0200 Birth: 2009-07-14 01:17:08.803392200 +0200 @@ regedit # regedit opens normally @@ cygstart regedit # dito ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- Using the 64-bits cmd.exe from MS: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. 64-C:\Users\Henri>e:\Cygwin64\bin\which -a regedit /drv/c/Windows/regedit 64-C:\Users\Henri>e:\Cygwin64\bin\ls -l /drv/c/Windows/regedit* -rwxrwx---+ 2 TrustedInstaller TrustedInstaller 427008 Jul 14 2009 /drv/c/Windows/regedit.exe 64-C:\Users\Henri>e:\Cygwin64\bin\stat /drv/c/Windows/regedit* File: `/drv/c/Windows/regedit.exe' Size: 427008 Blocks: 420 IO Block: 65536 regular file Device: 12f0a5c0h/317760960d Inode: 281474976726615 Links: 2 Access: (0770/-rwxrwx---) Uid: (4294967294/TrustedInstaller) Gid: (4294967294/TrustedInstaller) Access: 2009-07-14 01:27:10.125698800 +0200 Modify: 2009-07-14 03:39:29.639000000 +0200 Change: 2013-10-16 16:50:39.470163200 +0200 Birth: 2009-07-14 01:27:10.125698800 +0200 64-C:\Users\Henri>regedit # regedit opens normally 64-C:\Users\Henri>start regedit # dito 64-C:\Users\Henri>e:\Cygwin64\cygstart regedit # dito ====== -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |