|
From: | Tobias Geerinckx-Rice |
Subject: | bug#44623: [PATCH] archive: Warn about replacing an ACL symlink. |
Date: | Sun, 15 Nov 2020 23:06:16 +0100 |
Ludovic Courtès 写道:
Tobias Geerinckx-Rice <me@tobias.gr> skribis:* guix/scripts/archive.scm (authorize-key): Warn when %ACL-FILE is a symbolic link and print an additional hint for Guix System users.Oh, I was convinced that ‘guix archive --authorize’ would now fail on Guix System, but indeed it doesn’t, due to the canonical rename trick.
I don't want it to fail.Just today I used ‘guix archive --authorize’ so ‘guix system reconfigure’ (to add the key!) wouldn't take all day. Killer feature!
You can do both at once (thus avoiding a TOCTTOU race) with:
That is significantly better. Pushed as 5d15733c426d232e98098d99a5bfe145586609a4.
Thank you! T G-R
signature.asc
Description: PGP signature
[Prev in Thread] | Current Thread | [Next in Thread] |