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: Group Permissions on root folders problem (Windows 10 TP build 10061)


On 9/10/2015 11:49 AM, David A Cobb wrote:
On a Windows-10 host: when I use Cygwin *chown***or *chmod *to make
permission changes, the next time I access the folder-tree from Windows
Explorer Security tab, it complains that the Access Control List is
incorrectly ordered and that will cause undesirable results; happy to
say, it gives me the chance to re-order the ACL.  The usual undesirable
result is that an app can create a folder /New/ within /T/ but cannot
create anything within /T/////New/.

Hypothesis: we are indirectly(?) modifying the ACL but are not observing
whatever Windows expects for ordering.  I know that Windows enforces
"*deny*" rules before any "*allow*" rules; I do not know what other
ordering it observes.  I do know that Windows doesn't really consider
the "group" property the same way POSIX does, FWIW.

This is explained in the Cygwin User's Guide:

  https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-files

Ken

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