This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Read access to all keys in /proc/registry


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]