X-Recipient: archive-cygwin@delorie.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@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <874764137.20121013102947@mtu-net.ru>
To: julien2412 <serval2412@yahoo.fr>, cygwin@cygwin.com
Subject: Re: Registry keys not only accessible when user
In-Reply-To: <1349815868856-93419.post@n5.nabble.com>
References: <1349807869703-93406.post@n5.nabble.com> <507484C0.3070406@cygwin.com> <1349815868856-93419.post@n5.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@freemail.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

