This is the mail archive of the cygwin@cygwin.com 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: Question about umask and CYGWIN=ntsec


Francis Litterio <franl@world.std.com> wrote:

> I'm using Cygwin 1.3.12-4 with CYGWIN=ntsec on an NTFS filesystem,
> and I have my umask set to 177, but when I create a new file with
> "touch foo", the permissions on the file are "rwxr-xr-x".
>
> Is there any way to use "ntsec" and not have all newly created files
> appear with execute permissions?

This suggests that ntsec isn't actually on.

ntsec must be in $CYGWIN *before the cygwin-using process starts*

It is best, therefore, to set it in My Computer > Properties > Advanced >
Environment Variables.

Also, note that ntsec is on by default in current versions of Cygwin.


Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]