help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to put a file in /gnu/store and set its permissions


From: Nathan Dehnel
Subject: How to put a file in /gnu/store and set its permissions
Date: Sat, 4 Dec 2021 16:47:12 -0600

https://guix.gnu.org/manual/en/html_node/G_002dExpressions.html
This says to set #:recursive? #t and guix will preserve its
permissions in the store. I have done this:

(define guixrig_host_rsa_key
    (local-file "ssh/guixrig_host_rsa_key" #:recursive? #t))

The file this expression puts in the store has permissions of 444,
despite the original being 400. How do I prevent guix from changing
permissions, or manually override them?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]