BUG? mkdir ACLs

Brian Dessent brian@dessent.net
Sat Oct 22 01:50:00 GMT 2005


Jeff Newmiller wrote:

> ACLs for directories created with cygwin mkdir are significantly
> different than ACLs for directories created by native methods.
> In particular, the cygwin mkdir fails to include the
> NT AUTHORITY\SYSTEM user ACL, preventing services from accessing
> directories made this way.  If this is by design, a FAQ should
> be included warning of this and explaining why.

The default umask is 0022 which means that any files created by the
shell will be readable by all but only writable by the owner (0755 for
directories) which is what you're seeing.  That's how it works on unix,
so that's how Cygwin does it.  If you want something else, change the
umask or use "nontsec".

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list