bug-gnulib
[Top][All Lists]
Advanced

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

Re: ensure that generated files are read-only


From: Ralf Wildenhues
Subject: Re: ensure that generated files are read-only
Date: Thu, 7 Sep 2006 16:27:31 +0200
User-agent: Mutt/1.5.13 (2006-09-01)

Hello Simon,

* Simon Josefsson wrote on Thu, Sep 07, 2006 at 04:24:57PM CEST:
> 
> A further rant on that theme: I've been annoyed more than once that
> automake 'distcheck' chmod parts of the FOOPKG-x.y.z/ directory as
> read-only.
> 
> Further, it even chmod directories as read-only as well, so that not
> even 'rm -rf' works!

> That is time-consuming to restore; I usually do 'sudo rm -rf
> libidn-0.6.6', which is an even worse habit than 'rm -rf'...

The fix is to
  find FOOPKG-x.y.z -exec chmod u+rwx \{\} \; && rm -rf FOOPKG-x.y.z

I see the point that Automake's behavior here is annoying at times, but
it really helps to find some nasty packaging bugs not found otherwise.

Cheers,
Ralf




reply via email to

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