Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Francis Litterio Subject: How do I stop newly-created files from being +x? Date: Mon, 18 Nov 2002 17:41:48 -0500 Message-ID: Lines: 27 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-msvc-nt5.0.2195) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I'm using Cygwin 1.3.15-1 with ntsec on an NTFS filesystem. I have my umask set to "077", and when I create a new file from a Cygwin application, it's permissions are "rw-r--r--", which is what I expect. But if I create a new file from a non-Cygwin application (e.g., copy a file using Explorer), Cygwin applications show its permissions as "rwxr-xr-x", which is not what I expect. Is there any way to make it so that files created by non-Cygwin applications do not appear executable to Cygwin applications? I think this is happening because the ACLs on my directory are: c:\franl MYDOMAIN\litterio:(OI)(CI)F MYDOMAIN\Domain Users:(OI)(CI)R Everyone:(OI)(CI)R I think this is happening because the "F" (full control) access is marked "(OI)(CI)" (object inherit + container inherit). I've played with cacls.exe to attempt to fix this, but to no avail. Anyone else having this problem? Anyone know how to fix it? -- Francis Litterio franl AT world DOT std DOT com http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- 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/