delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/15:52:58

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
From: "Chris January" <chris AT atomice DOT net>
To: "William S Fulton" <wf AT fultondesigns DOT co DOT uk>,
"Cygwin AT Cygwin DOT Com" <cygwin AT cygwin DOT com>
Subject: RE: Read access to all keys in /proc/registry
Date: Thu, 10 Jul 2003 20:52:58 +0100
Message-ID: <ICEBIHGCEJIPLNMBNCMKCEKDCIAA.chris@atomice.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <3F0D6144.5000904@fultondesigns.co.uk>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal

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

Chris


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