delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/13/02:38:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Sat, 13 Oct 2012 10:29:47 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <874764137.20121013102947@mtu-net.ru>
To: julien2412 <serval2412 AT yahoo DOT fr>, cygwin AT cygwin DOT com
Subject: Re: Registry keys not only accessible when user
In-Reply-To: <1349815868856-93419.post@n5.nabble.com>
References: <1349807869703-93406 DOT post AT n5 DOT nabble DOT com> <507484C0 DOT 3070406 AT cygwin DOT com> <1349815868856-93419 DOT post AT n5 DOT nabble DOT com>
MIME-Version: 1.0
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

Greetings, julien2412!

> Now if I just run an ls /proc/registry/<abbreviated
> HKLM>/SOFTWARE/Microsoft, I can see the registry keys I quoted only if I 
> launch Cygwin with admin rights.

Sounds like incorrect installation or something environmental getting in the
way. (Antivirus sandboxing your cygwin?)
These keys are supposed to be readable by all local accounts (hence HKLM).

> Anyway, I noticed that with regtool, everything was ok.
> Is "regtool" the recommanded way to access (in read only) registry keys? And
> so we should avoid to run things like this Perl script line:
> open($fhandle, "/proc/registry/$key") )

> Julien
> PS:
> "uname -rs" gives "CYGWIN_NT_6.0 1.7.16 (0.262/5/3)"


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 13.10.2012, <10:27>

Sorry for my terrible english...


--
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