delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/16/04:59:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 16 Oct 2012 10:59:07 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin for Windows 8
Message-ID: <20121016085907.GF25877@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CALtVTxS-g26AMU7s0o6zr2K4oK4ok=WxSCPUub62gpMVM6qNrA AT mail DOT gmail DOT com> <1350329081 DOT 35214 DOT YahooMailNeo AT web171406 DOT mail DOT ir2 DOT yahoo DOT com> <20121015193636 DOT GC25877 AT calimero DOT vinschen DOT de> <1350331470 DOT 1670 DOT YahooMailNeo AT web171403 DOT mail DOT ir2 DOT yahoo DOT com> <1350341744 DOT 91309 DOT YahooMailNeo AT web171405 DOT mail DOT ir2 DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <1350341744.91309.YahooMailNeo@web171405.mail.ir2.yahoo.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Oct 15 23:55, GrahamC wrote:
> Another anomaly with disk drive partition devices (/dev/sdX1, /dev/sdX2 etc.) is the access control.
>  
> While the whole disk devices (/dev/sdX) can only be accessed when running as administrator, the
> individual partition devices (/dev/sdX1, /dev/sdX2 etc.) can be both read and written without
> needing administrator mode.

Access control is not done inside Cygwin.  The permissions on the block
devices are set by Windows.  If you want to take a closer look,  see
the mapping of the native namespace into the Cygwin /proc/sys namespace.
Look at everything under /proc/sys/Device/Harddisk*, but make sure you're
admin, otherwise you won't see everything.  If you want to take an even
closer look, I suggest to download the winobj tool from sysinternal.  It
also provides a detailed ACL view.


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

- Raw text -


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