delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |