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

Producing tar file with 666/777 permissions

From
MMMatt McCutchen <hashproduct@verizon.net>
Date
Mar 4, 2006, 04:25 UTC
Message-ID
<1141446331.3171.4.camel@mattlaptop>
Dear GIT people,

How do I package a git repository in a tar file with 666 and 777 embedded permissions? There's evidently some way to do it because the Linux kernel source packages have 666 and 777 embedded permissions, but git-tar-tree gives me a tar file with 644 and 755 permissions and there's no obvious way to tell it to do otherwise.

There was lots of discussion on the mailing list about what permissions to preserve when copying in and out of repositories (I obviously side with those who want a single execute bit), but I could not find any mention of permission issues in reference to git-tar-tree.

Please reply to me as I am off-list.
-- 
Matt McCutchen
hashproduct@verizon.net
http://hashproduct.metaesthetics.net/
Next: Junio C Hamano
Message 1 of 3 in “Producing tar file with 666/777 permissions”
  1. Matt McCutchenMar 4, 2006
  2. Junio C HamanoMar 4, 2006
  3. tar-tree: file/dirmode fix.Junio C Hamano, Mar 4, 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.