delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/15/19:10:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000901c28d04$8983ff70$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <cygwin AT cygwin DOT com>, "Francis Litterio" <franl AT world DOT std DOT com>
References: <uwunecrpq DOT fsf AT world DOT std DOT com>
Subject: Re: Question about umask and CYGWIN=ntsec
Date: Sat, 16 Nov 2002 00:10:13 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Francis Litterio <franl AT world DOT std DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019