Cygwin for Windows 8

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Oct 16 08:59:00 GMT 2012


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



More information about the Cygwin mailing list