Re: texinfo 5.2 dist creates directories that are 777

2013-11-15 Thread Sergey Poznyakoff
Andreas Schwab  ha escrit:

> > $ tar -xpzf /usr/local/src/Gnu/texinfo-5.2.tar.gz 
> 
> You explicitly told tar to ignore umask.  No surprise.

No surprise, indeed. What actually surprises me is why the tarball
itself contains such unreasonably permissive file modes.  I guess
that's what the original posting was about.  Yet another question
is how came that the upload script accepted it.

Regards,
Sergey



Re: texinfo 5.2 dist creates directories that are 777

2013-11-15 Thread Andreas Schwab
Aharon Robbins  writes:

> Something's messed up somewhere. Ubuntu 12.04:
>
>   $ umask 022
>   $ tar -xpzf /usr/local/src/Gnu/texinfo-5.2.tar.gz 

You explicitly told tar to ignore umask.  No surprise.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



Re: texinfo 5.2 dist creates directories that are 777

2013-11-15 Thread Aharon Robbins
Hi Karl.

> Is it a bug or a feature that the Texinfo 5.2 tarball extracts with
> directories being world writable?
>
> Feature.  Well, at least it's intentional.
>
> Anyone who cares should set umask before unpacking, as usual.
> Seems to me.

Something's messed up somewhere. Ubuntu 12.04:

$ umask 022
$ tar -xpzf /usr/local/src/Gnu/texinfo-5.2.tar.gz 
$ ls -ld texinfo-5.2 
drwxrwxrwx 15 arnold arnold 4096 Sep 27 02:06 texinfo-5.2

"Surprise, surprise, surprise!"

Besides, haven't the Autconf / Automake guys been making releases that
change the default permissions on directories in tar balls to avoid this?
(I admit I haven't followed in close detail.)

Thanks,

Arnold