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: BUG? mkdir ACLs


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/


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