delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/02/12:05:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 2 Aug 2001 17:51:50 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: can cygwin be set not to set UNIX permissions
Message-ID: <20010802175150.G23782@cygbert.vinschen.de>
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <893CF1EC58DAD211A2C00060089BB15D8DFB5B AT colorado>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <893CF1EC58DAD211A2C00060089BB15D8DFB5B@colorado>; from DBurd@cpr.org on Thu, Aug 02, 2001 at 09:17:07AM -0600

On Thu, Aug 02, 2001 at 09:17:07AM -0600, Dana Burd wrote:
> NT will set inherited permissions on it's own.  Why can't you set cygwin to
> *not* try to set UNIX type permissions on new files or directories?  tried
> setting 'CYGWIN=nontsec nontea tty', it still altered the permissions
> inherited by the NT filesystem.

Are you using 1.3.2 or a developers snapshot?

AFAIKS, this shouldn't happen with 1.3.2 but it could happen with
the current developer snapshots.

If you're using 1.3.2, be sure to set CYGWIN=nontsec and call 

    strace -o foo.trace c:/cygwin/bin/touch foo

then grep for `alloc_sd' in foo.trace:

    grep alloc_sd foo.trace

If you get an output, something is actually wrong.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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