delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/30/04:43:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 30 Nov 2009 10:43:15 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67
Message-ID: <20091130094315.GC16680@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4B12F891 DOT 9000008 AT alice DOT it> <a13b5a590911291522i4cb753e4g2967479f843a66af AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <a13b5a590911291522i4cb753e4g2967479f843a66af@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Nov 29 18:22, Robert Pendell wrote:
> On Sun, Nov 29, 2009 at 5:41 PM, Angelo Graziosi wrote:
> > Ken Brown wrote:
> >>
> >> I just confirmed this on my XP SP3 system. I initially got similar
> >> behavior to what Angelo and Robert reported, but it doesn't happen if I
> >> export TMPDIR=/tmp before running patch.
> >
> > Indeed!
> >
> > On my system TMPDIR isn't defined by default; instead TMP and TEMP point to
> > $USERPROFILE/Temp. Setting TMP or TMPDIR to /tmp, works. Instead pointing
> > TEMP to /tmp does not, i.e. 'patch' creates foo.txt with '+'.

That explains it all.  The original problem was that inheritable
permissions from the parent dirs were not inherited when creating files
in Cygwin.  That was a long-standing problem in Cygwin since it disabled
POSIX ACL default permissions to be inherited correctly.  Now that works
correct.  So Angelo's observation is actually good news, rather than yet
another bug.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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