libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar and non-writable files in srcdir


From: Gary V. Vaughan
Subject: Re: tar and non-writable files in srcdir
Date: Mon, 11 Apr 2005 09:07:48 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041103)

Hallo Ralf!

Ralf Wildenhues wrote:
> While extracting libtool-2.1a.tar.bz2 (tarball of CVS HEAD) over an
> already present source tree on Solaris:
> | ..
> | tar: libtool-2.1a/config/ltmain.sh: Could not create file: Permission denied
> | ..
> | tar: libtool-2.1a/m4/ltversion.m4: Could not create file: Permission denied
> | ..
>
> Should we avoid putting non-writeable files in the source tree because
> of this?

No, unpacking over an existing tree is a bad idea.  What if the objects in the
existing tree were compiled after the sources were put in the tarball?

> Why are we making them non-writeable in the first place?

To remind patch authors to edit the source instead of the generated files.

Cheers,
        Gary.
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]