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

Re: [PATCH] git-archive: accept --owner and --group like GNU tar

From
René Scharfe <l.s.r@web.de>
Date
Jan 4, 2018, 00:43 UTC
Message-ID
<24162f60-d6bf-8ab4-ee69-9834292fadae@web.de>
In-Reply-To
<5a4ad314.C6wihAr5rEC8jRkB%perryh@pluto.rain.com>
[replying only to the list because emails to perryh@pluto.rain.com
 are rejected by my mail server with the following error message:
 "Requested action not taken: mailbox unavailable
  invalid DNS MX or A/AAAA resource record."]
Am 02.01.2018 um 01:32 schrieb Perry Hutchison:
Show 11 quoted lines
> Ren?? Scharfe <l.s.r@web.de> wrote:
>> Am 29.12.2017 um 15:05 schrieb suzuki toshiya:
>>> The ownership of files created by git-archive is always
>>> root:root. Add --owner and --group options which work
>>> like the GNU tar equivalent to allow overriding these
>>> defaults.
>> ... the receiver would need to be root to set both IDs, or be a
>> group member to set the group ID; I guess the latter is more common.
> 
> If the received files are owned by root:root as stated, I guess the
> receiver must be running as root, no?

That depends on what you mean with "must". Users who want the files they extract to be owned by root need root permissions on Unix and Linux. If they are OK with owning the files themselves then regular user accounts suffice. I assume the latter is much more common.

René
Previous: Perry HutchisonNext: suzuki toshiya
Message 4 of 13 in “git-archive: accept --owner and --group like GNU tar”
  1. git-archive: accept --owner and --group like GNU tarsuzuki toshiya, Dec 29, 2017
  2. René ScharfeJan 1, 2018
  3. Perry HutchisonJan 2, 2018
  4. René ScharfeJan 4, 2018
  5. suzuki toshiyaJan 2, 2018
  6. René ScharfeJan 2, 2018
  7. suzuki toshiyaJan 4, 2018
  8. suzuki toshiyaJan 4, 2018
  9. René ScharfeJan 4, 2018
  10. Junio C HamanoJan 4, 2018
  11. René ScharfeJan 5, 2018
  12. Junio C HamanoJan 5, 2018
  13. suzuki toshiyaJan 5, 2018

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.