This is the mail archive of the cygwin 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: Cygwin for Windows 8


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


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