bug-automake
[Top][All Lists]
Advanced

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

Re: file permissions in a gzip'd tar file


From: Tom Tromey
Subject: Re: file permissions in a gzip'd tar file
Date: 23 Jul 2002 23:35:51 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "Wojciech" == Wojciech Polak <address@hidden> writes:

Wojciech> Generating a gzip'd tar file for distribution via the
Wojciech> 'make dist' makes the file permissions modified.
Wojciech> This (by default) should be forbidden, I think.

We set the permissions due to the GNU coding standards:

       Make sure that the directory into which the distribution unpacks (as
    well as any subdirectories) are all world-writable (octal mode 777).
    This is so that old versions of `tar' which preserve the ownership and
    permissions of the files from the tar archive will be able to extract
    all the files even if the user is unprivileged.

       Make sure that all the files in the distribution are world-readable.

In theory we should do even more checking, for instance checking for
14-char filenames (one would hope this is an obsolete restriction).

Tom



reply via email to

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