default ACLs

Mikel Ward mward@aconex.com
Fri Oct 23 23:21:00 GMT 2009


Corinna wrote:
> Neither the NtCreateFile function, nor the
> CreateFile function handle ACE inheritance either. 

Looks like that's only if lpSecurityAttributes is non-NULL, but I guess
Cygwin uses that field?

"Windows Server 2003 and Windows XP/2000:  For backward compatibility
purposes, CreateFile does not apply inheritance rules when you specify a
security descriptor in lpSecurityAttributes. To support inheritance,
functions that later query the security descriptor of this file may
heuristically determine and report that inheritance is in effect. For
more information, see Automatic Propagation of Inheritable ACEs."

Out of interest I'm going to have a look at SECURITY_DESCRIPTORs, but
it'll take some time. :-)

> Thanks for the report
Thanks for taking a look!





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