X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 10 Oct 2012 14:52:15 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Registry keys not only accessible when user Message-ID: <20121010125215.GA16074@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT 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> <50749DDE DOT 6030905 AT cygwin DOT com> <1349850743935-93436 DOT post AT n5 DOT nabble DOT com> <20121010073145 DOT GA31314 AT calimero DOT vinschen DOT de> <1349864246547-93451 DOT post AT n5 DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1349864246547-93451.post@n5.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Oct 10 03:17, julien2412 wrote: > Corinna Vinschen-2 wrote > > On Oct 9 23:32, julien2412 wrote: > > ... > >> 1) Why with no admin rights, ls /proc/registry doesn't map all the keys? > >> After all, the goal is just to read only > >> 2) Is there a way to have access to any registry keys without admin > >> rights > >> and without using regtool? > > > > If you could show us examples, we might even be able to look into > > this problem, *if* it is a problem. I just tried the following on > > Windows 7 as an UAC-restricted admin: > > ... > > Now, if you could give us some details from your side, we might be > > able to see a pattern. > > I'm not at home to test again but here is a quotation of what I had post on > dev mailing list of LibreOffice > (http://nabble.documentfoundation.org/Registry-keys-for-Windows-compilation-td3521322.html) > " > For example, there's nothing there : > /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VCExpress > And there's nothing cause permissions aren't ok : > ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/ > d--------- 1 400 401 0 Nov 19 18:53 VBExpress ^^^^^^^^^^^ These uid and gid look fishy. Your /etc/passwd and /etc/group files seem to be off. Maybe that's the reason. Regenerate your /etc/passwd and /etc/group files: $ mkpasswd -l [-d] > /etc/passwd $ mkgroup -l [-d] > /etc/group Use the -d option only if you're in a domain. For more information see http://cygwin.com/cygwin-ug-net/using-utils.html#mkpasswd http://cygwin.com/cygwin-ug-net/using-utils.html#mkgroup Then exit from your Cygwin shell and start again. Any change? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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