all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.