delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/16:11:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3F0DC8FD.40303@fultondesigns.co.uk>
Date: Thu, 10 Jul 2003 21:13:49 +0100
From: William S Fulton <wf AT fultondesigns DOT co DOT uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en, en-us
MIME-Version: 1.0
To: Chris January <chris AT atomice DOT net>
CC: "Cygwin AT Cygwin DOT Com" <cygwin AT cygwin DOT com>
Subject: Re: Read access to all keys in /proc/registry
References: <ICEBIHGCEJIPLNMBNCMKCEKDCIAA DOT chris AT atomice DOT net>
In-Reply-To: <ICEBIHGCEJIPLNMBNCMKCEKDCIAA.chris@atomice.net>
X-OriginalArrivalTime: 10 Jul 2003 20:10:46.0944 (UTC) FILETIME=[599BB200:01C3471F]

Chris January wrote:
>>find /proc/registry/HKEY_LOCAL_MACHINE/
>>
>>does not go down the /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE 
>>directory(key)
>>because there is no read access for people outside of the SYSTEM group:
>>
>>$ ls -la /proc/registry/HKEY_LOCAL_MACHINE/
>>total 0
>>dr-xr-xr--    5 Administ SYSTEM          0 Jul 10 08:50 .
>>dr-xr-xr-x    9 0        0               0 Jul 10 13:03 ..
>>dr-xr-xr--    4 Administ SYSTEM          0 Jul 10 08:50 HARDWARE
>>dr-xr-xr--    1 Administ SYSTEM          0 Mar 15  2001 SAM
>>dr-xr-xr-x    1 0        0               0 Jul 10 13:03 SECURITY
>>dr-xr-x---   65 Administ SYSTEM          0 Mar 15  2001 SOFTWARE
>>dr-xr-x---    6 Administ SYSTEM          0 Mar 15  2001 SYSTEM
>>
>>The SYSTEM group is not a normal Windows group, so how can I add 
>>myself to the 
>>SYSTEM group (Cygwin doesn't provide the usual Linux group commands e.g. 
>>usermod, newgrp). Otherwise, how can I modify the permissions for 
>>read access to 
>>others so that the find command goes down the SOFTWARE directory?
> 
> 1. Can you access the key using ls?
> 2. Can you access the key in regedit?
> 3. Are you running as an Administrator?
> 
Yes to all three, I've just doubled checked. In fact a

   find /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE

will traverse down the SOFTWARE 'directory', but a

   find /proc/registry/HKEY_LOCAL_MACHINE

won't.

William


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

- Raw text -


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