summary refs log tree commit diff
path: root/HACKING
diff options
context:
space:
mode:
authoryarl-baudig@mailoo.org <yarl-baudig@mailoo.org>2022-05-22 15:54:42 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-27 23:36:36 +0200
commitd4158ea63ad6d112c3e95b3dde99608d7bd99148 (patch)
tree777fb5f6efec1677afbe4f649bdcbe5e7b7ecc34 /HACKING
parent5bfb7ebe5dd3011d766a98cb9875399fb836c4b1 (diff)
downloadguix-d4158ea63ad6d112c3e95b3dde99608d7bd99148.tar.gz
substitute: Check for --help or --version options early.
Running `guix archive --authorize` sets /etc/guix/acl to 600
via with-atomic-file-output via mkstemp!.
Then running `guix substitute --help/--version` fails on "permission denied".
While "guix substitute" is an internal tool, the options --help and --version
exist and you should be able to run those from the command line.

* guix/scripts/substitute.scm (guix-substitute): Earlier check for
--help or --version.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions