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

Re: a problem with git describe

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 25, 2022, 06:39 UTC
Message-ID
<xmqqy1zty8dc.fsf@gitster.g>
In-Reply-To
<20220425020108.5agdq6bdg6umrtbt@carlos-mbp.lan>
Carlo Marcelo Arenas Belón <carenas@gmail.com> writes:
> At that point, though you might as well excempt root from this check

But "root" or any higher-valued account is what needs this kind of protection the most, no? The protection is *not* about people knowingly accessing their own repository via "root", but those who are in a directory without being aware of its repository-ness. You prepare /var/tmp/.git/ and let others do things that they would do in /var/tmp/ throw-away directories normally and get affected by what you leave in /var/tmp/.git/config file. If "root" is among these "others", that sounds like you caught a bigger fish X-<.

Previous: Carlo Marcelo Arenas BelónNext: Carlo Marcelo Arenas Belón
Message 8 of 23 in “a problem with git describe”
  1. Guy MaurelApr 23, 2022
  2. Philip OakleyApr 23, 2022
  3. Junio C HamanoApr 23, 2022
  4. Junio C HamanoApr 23, 2022
  5. Carlo Marcelo Arenas BelónApr 25, 2022
  6. SZEDER GáborApr 25, 2022
  7. Carlo Marcelo Arenas BelónApr 25, 2022
  8. Junio C HamanoApr 25, 2022
  9. Carlo Marcelo Arenas BelónApr 25, 2022
  10. Carlo Marcelo Arenas BelónApr 25, 2022
  11. Guy MaurelApr 25, 2022
  12. Johannes SchindelinApr 26, 2022
  13. rsbecker@nexbridge.comApr 26, 2022
  14. Carlo ArenasApr 26, 2022
  15. Junio C HamanoApr 26, 2022
  16. Carlo ArenasApr 26, 2022
  17. Johannes SchindelinApr 26, 2022
  18. Junio C HamanoApr 26, 2022
  19. Taylor BlauApr 26, 2022
  20. Johannes SchindelinApr 26, 2022
  21. Taylor BlauApr 26, 2022
  22. Johannes SchindelinApr 26, 2022
  23. Junio C HamanoApr 26, 2022

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.