Windows ACLs, Inheritance bit

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Jul 11 16:46:00 GMT 2008


Sliva, Gregory C. wrote:
> When executing "mkdir test" within bash, the new directory called "test"
> gets created on the windows server, but the permissions are different
> then that of its parent folder. Is there a setting or flag that can be
> set so that when executing a mkdir in bash it treats it like mkdir in
> dos? Just looking to ensure that new files and directories created
> always inherit the permissions of the parent folder. The /etc/passwd and
> /etc/group files contain all appropriate entries.


You'll need to turn off all POSIX permissions code then.  Do this by
adding "nontsec" to your CYGWIN environment variable and stop all Cygwin
processes.  See <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html> and
<http://cygwin.com/cygwin-ug-net/ntsec.html> for more background.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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