git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "brian m. carlson" <sandals@crustytoothpaste.net>
Cc: luciano.rocha@booking.com, git@vger.kernel.org, peff@peff.net
Subject: Re: [PATCH 1/1] freshen_file(): use NULL `times' for implicit current-time
Date: Wed, 15 Apr 2020 18:02:03 -0700	[thread overview]
Message-ID: <xmqqa73c4510.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <20200415234847.GI2751707@camp.crustytoothpaste.net> (brian m. carlson's message of "Wed, 15 Apr 2020 23:48:47 +0000")

"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 ;-)

      reply	other threads:[~2020-04-16  1:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14 14:27 [PATCH 1/1] freshen_file(): use NULL `times' for implicit current-time luciano.rocha
2020-04-14 19:55 ` Jeff King
2020-04-15  9:09   ` [External] " luciano.rocha
2020-04-15 16:05     ` Jeff King
2020-04-15 17:30       ` Junio C Hamano
2020-04-15 21:36 ` Junio C Hamano
2020-04-15 23:48   ` brian m. carlson
2020-04-16  1:02     ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqa73c4510.fsf@gitster.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=luciano.rocha@booking.com \
    --cc=peff@peff.net \
    --cc=sandals@crustytoothpaste.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).