delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/29/17:12:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: <41FC0A3E.5020702@tlinx.org>
Date: Sat, 29 Jan 2005 14:12:14 -0800
From: linda w <cygwin AT tlinx DOT org>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
MIME-Version: 1.0
To: "'Cygwin List'" <cygwin AT cygwin DOT com>
Subject: /proc functionality; ls errors
X-IsSubscribed: yes

Had another Question regarding the /proc file system.  If
I am in /proc (Cygwin Window, bash) and I type the
command "'ls' -l" I get:
/proc> 'ls' -l
ls: loadavg: Operation not permitted
ls: meminfo: Operation not permitted
ls: registry: Operation not permitted
ls: stat: Operation not permitted
ls: version: Operation not permitted
ls: uptime: Operation not permitted
ls: cpuinfo: Operation not permitted
ls: partitions: Operation not permitted
ls: 852: Operation not permitted
ls: 912: Operation not permitted
ls: 2372: Operation not permitted
ls: 1272: Operation not permitted
ls: 1824: Operation not permitted
total 0
dr-xr-xr-x  15 law    Domain Admins  0 Jan 29 13:17 1272
dr-xr-xr-x  15 law    Domain Admins  0 Jan 29 13:17 1824
dr-xr-xr-x  15 law    Domain Admins  0 Jan 28 23:58 2372
dr-xr-xr-x  15 SYSTEM Administrators 0 Jan 25 14:16 852
dr-xr-xr-x  15 SYSTEM Administrators 0 Jan 25 14:16 912
-r--r--r--   1 law    Domain Admins  0 Jan 29 13:17 cpuinfo
-r--r--r--   1 law    Domain Admins  0 Jan 29 13:17 loadavg
-r--r--r--   1 law    Domain Admins  0 Jan 29 13:17 meminfo
-r--r--r--   1 law    Domain Admins  0 Jan 29 13:17 partitions
dr-xr-xr-x   9 law    Domain Admins  0 Jan 29 13:17 registry
-r--r--r--   1 law    Domain Admins  0 Jan 29 13:17 stat
-r--r--r--   1 law    Domain Admins  0 Jan 29 13:17 uptime
-r--r--r--   1 law    Domain Admins  0 Jan 29 13:17 version

Why do I get the "operation not permitted" errors?  Same
holds true for values in the registry subtree:
/proc/registry/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion> 
ll
ls: AdminDebug: Operation not permitted
ls: App Management: Operation not permitted
ls: App Paths: Operation not permitted
ls: Applets: Operation not permitted
ls: BITS: Operation not permitted
ls: Control Panel: Operation not permitted
ls: Controls Folder: Operation not permitted
ls: CSCSettings: Operation not permitted
ls: DateTime: Operation not permitted
ls: Dynamic Directory: Operation not permitted
ls: Explorer: Operation not permitted
ls: Extensions: Operation not permitted
ls: Fault: Operation not permitted
ls: Fonts: Operation not permitted
ls: Group Policy: Operation not permitted
ls: H323TSP: Operation not permitted
ls: Hints: Operation not permitted
ls: Installer: Operation not permitted
ls: Internet Settings: Operation not permitted
ls: IPConfTSP: Operation not permitted
...
ls: SM_ConfigureProgramsName: Operation not permitted
ls: RegDone: Operation not permitted
ls: SM_AccessoriesName: Operation not permitted
ls: ProductKey: Operation not permitted
total 0
dr-xr-x---    1 Administrators  0 Mar 26  2003 AdminDebug/
dr-xr-x---    4 Administrators  0 Mar 26  2003 App Management/
dr-xr-x---  116 Administrators  0 Jan 20 14:18 App Paths/
dr-xr-x---    1 Administrators  0 Mar 26  2003 Applets/
dr-xr-x---    0 Administrators  0 Jan 25 14:17 BITS/
dr-xr-x---    0 Administrators  0 Mar 26  2003 CSCSettings/
-r--r-----    1 Administrators 30 Jan 21 17:04 CommonFilesDir
dr-xr-x---    5 Administrators  0 Mar 26  2003 Control Panel/
dr-xr-x---    6 Administrators  0 Mar 26  2003 Controls Folder/
dr-xr-x---    1 Administrators  0 Mar 26  2003 DateTime/

---
    Is there a system call that is unnecessarily returning a failure?
Not that this is holding up anything...more of an integration
issue.

Thanks (sorry to keep asking so many questions, but I don't always know
about all the internal decisions/tradeoffs that have been made or
the details of some of these workings...

Linda


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