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