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

Re: [PATCH 1/1] freshen_file(): use NULL `times' for implicit current-time

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 16, 2020, 01:02 UTC
Message-ID
<xmqqa73c4510.fsf@gitster.c.googlers.com>
In-Reply-To
<20200415234847.GI2751707@camp.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
> So the answer is the user needs to have write access with utime(fn,
> NULL), but the same EUID (or root) with a specific time.

OK, with a specific time, write access is not sufficient, and that is why this patch helps.

Makes perfect sense.  Thanks for a dose of sanity ;-)
Previous: brian m. carlson
Message 8 of 8 in “freshen_file(): use NULL `times' for implicit current-time”
  1. 1/1 freshen_file(): use NULL `times' for implicit current-timeluciano.rocha@booking.com, Apr 14, 2020
  2. Jeff KingApr 14, 2020
  3. luciano.rocha@booking.comApr 15, 2020
  4. Jeff KingApr 15, 2020
  5. Junio C HamanoApr 15, 2020
  6. Junio C HamanoApr 15, 2020
  7. brian m. carlsonApr 15, 2020
  8. Junio C HamanoApr 16, 2020

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.