All Windows-created files seem to have mode -rwxrwxrwx

Ivan Dobrianov ivan@dobrianov.net
Thu Oct 31 13:25:00 GMT 2002


For whatever this is worth:

Setting CYGWIN to "ntea nontsec" seems to bring things to normal.

I guess it's not my destiny to ever understand the intricacies of 
"ntsec" :-)

=============================
     * From: "lhall at pop dot ma dot ultranet dot com" <lhall at pop 
dot ma dot ultranet dot com>
     * To: cke at highlandshighspeed dot net, cygwin at cygwin dot com
     * Date: Thu, 31 Oct 2002 12:57:40 -0500
     * Subject: Re: All Windows-created files seem to have mode -rwxrwxrwx
     * Reply-to: lhall at rfk dot com

'ntsec' is on by default since since Cygwin package 1.3.13.

Larry


Original Message:
-----------------
From: Chris K Ellsworth cke@highlandshighspeed.net
Date: Thu, 31 Oct 2002 09:44:05 -0800
To: cygwin@cygwin.com
Subject: Re: All Windows-created files seem to have mode -rwxrwxrwx


you probly need ntsec also

----- Original Message -----
From: "Ivan Dobrianov" <ivan@dobrianov.net>
To: <cygwin@cygwin.com>
Sent: Thursday, October 31, 2002 9:34 AM
Subject: All Windows-created files seem to have mode -rwxrwxrwx


 > Sorry is this has been asked 1000 times, but even though there are many
 > references to permissions setting in the FAQ and User guide, nohting
 > explains the following.
 >
 > THE FACTS: I have "Windows XP Professional Ver 5.1 Build 2600 Service
 > Pack 1" and Cygwin cygwin_1.3.14-1 gotten and installed yesterday, with
 > settings "CYGWIN = `ntea'" and the disks are NTFS, e.g.:
 >     e:  hd  NTFS   70001Mb  13% CP CS UN PA FC     DATA
 >
 > THE PROBLEM: All is well except that all Windows-created files seem to
 > have permissions -rwxrwxrwx. Including text files created by say
 > Notepad. All are "executable".
 >
 > I have no problem with reading or chaning permissions from inside
 > Cygwin.  Also files created from Cygwin have reasonable permissions:
 > -rw-rw-rw-. It is just file created from Windows applications that are
 > always executable.
 >
 > Any clues? Thanks!
 >
 > PS: I do not want to bother with 'ntsec' - security is not an issue at
 > the moment.
 > PS2: I have used previous versions of cygwin on a number of NTFS-disked
 > machins and never seen this.
 >


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



More information about the Cygwin mailing list