Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
To: Charles Wilson <cwilson@ece.gatech.edu>
Cc: Robert Collins <robert.collins@itdomain.com.au>, cygwin@Cygwin.Com,
        Bernard Dautrevaux <Dautrevaux@microprocess.com>,
        "'Tim Van Holder'" <tim.van.holder@pandora.be>, automake@gnu.org
Subject: Re: Automake 1.4l released
References: <3B7974C6.83934084@yahoo.com> <3B797B22.C06C71D9@yahoo.com> <87bslip7hj.fsf@creche.redhat.com> <20010814195923.A28367@redhat.com> <87wv46uoac.fsf@creche.redhat.com> <997839007.16944.3.camel@robertlinux> <3B79DED8.3040807@ece.gatech.edu>
X-Zippy:  Dehydrated EGGS are STREWN across ROULETTE TABLES..
X-Attribution:  Tom
Reply-To: tromey@redhat.com
From: Tom Tromey <tromey@redhat.com>
Date: 15 Aug 2001 20:28:05 -0600
In-Reply-To: Charles Wilson's message of "Tue, 14 Aug 2001 22:30:48 -0400"
Message-ID: <87snes4u2y.fsf@creche.redhat.com>
Lines: 27
X-Mailer: Gnus v5.7/Emacs 20.5

>>>>> "Charles" == Charles Wilson <cwilson@ece.gatech.edu> writes:

Charles> Nope.  It actually seems to be due to a change in automake.
Charles> Apparently, make distcheck did not previously 'chmod -R a-w'.

I looked a bit but due to massive reorganization it is a pain to find
out when this went in.


We rely on `cp -p' in a few places, all in `dist'.  The problem is
most obvious in `distcheck' because it makes the tree read-only when
it is unpacked.  But suppose you use something like CVSREAD and check
out a tree.  Then a file like configure could very well be read-only,
leading to the same problem for a simple `dist'.

I think we could add a check for whether "cp -p works in ." to
AM_INIT_AUTOMAKE and then use the result everywhere.  For this to work
we'd also need to add code to `missing' to handle this case, I think
(code I'm not entirely sure how to write -- ideally it would restore
the original file's permissions once it was done with the copy).

I think our goal should be to support this feature everywhere.  But if
there aren't maintainers who need this in 1.5, I would prefer to file
a PR and leave it until a later release.  If you are such a
maintainer, please speak up.  Charles, are you?

Tom

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

