unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to put a file in /gnu/store and set its permissions
@ 2021-12-04 22:47 Nathan Dehnel
  2021-12-05  5:12 ` Leo Famulari
  0 siblings, 1 reply; 7+ messages in thread
From: Nathan Dehnel @ 2021-12-04 22:47 UTC (permalink / raw)
  To: help-guix

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?


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-08 16:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-04 22:47 How to put a file in /gnu/store and set its permissions Nathan Dehnel
2021-12-05  5:12 ` Leo Famulari
2021-12-05 21:18   ` Nathan Dehnel
2021-12-06  2:30     ` Gary Johnson
2021-12-08  0:59       ` Nathan Dehnel
2021-12-08  6:02         ` Arun Isaac
2021-12-08 16:26         ` Gary Johnson

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 read-only IMAP folder(s) and NNTP newsgroup(s).