git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] tar-tree: add the "tar.applyUmask" config option

From
Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Jul 20, 2006, 08:14 UTC
Message-ID
<44BF3B4A.5040109@lsrfire.ath.cx>
In-Reply-To
<20060719214025.GA10997@1wt.eu>
Hi Willy,

I kind of like the change, because it gives the user more control. Theoretically this would not be needed, because tar can apply the umask at extract time just fine. In practice I can't see why we should forbid users from creating the archives just the way they like them, no matter what their reasoning might be.

Willy Tarreau schrieb:
Show 8 quoted lines
> +tar.applyUmask::
> +	By default, git-link:git-tar-tree[1] sets file and directories modes
> +	to 0666 or 0777. While this is both useful and acceptable for projects
> +	such as the Linux Kernel, it might be excessive for other projects.
> +	Setting this variable to true makes git-link:git-tar-tree[1] apply the
> +	umask to the modes above. This should be enough for most projects, as
> +	it will lead to the same permissions as git-link:git-checkout[1] would
> +	use. The default is false.

Comments about why this change is needed and that it is sufficient should go into the commit message. For the rest of the patch:

Acked-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Previous: Johannes SchindelinNext: Junio C Hamano
Message 8 of 9 in “tar-tree: add the "tar.applyUmask" config option”
  1. tar-tree: add the "tar.applyUmask" config optionWilly Tarreau, Jul 19, 2006
  2. Junio C HamanoJul 19, 2006
  3. Willy TarreauJul 19, 2006
  4. Willy TarreauJul 20, 2006
  5. Rogan DawesJul 20, 2006
  6. Willy TarreauJul 20, 2006
  7. Johannes SchindelinJul 19, 2006
  8. Rene ScharfeJul 20, 2006
  9. Junio C HamanoJul 24, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.