From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eKJjIhPwq2FALQAAgWs5BA (envelope-from ) for ; Sat, 04 Dec 2021 23:47:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mAERHhPwq2ESPAAAB5/wlQ (envelope-from ) for ; Sat, 04 Dec 2021 22:47:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 33F79CDF0 for ; Sat, 4 Dec 2021 23:47:47 +0100 (CET) Received: from localhost ([::1]:59374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtdon-0006VZ-CH for larch@yhetil.org; Sat, 04 Dec 2021 17:47:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtdoU-0006VB-EG for help-guix@gnu.org; Sat, 04 Dec 2021 17:47:26 -0500 Received: from [2607:f8b0:4864:20::b33] (port=35665 helo=mail-yb1-xb33.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtdoS-00080F-IS for help-guix@gnu.org; Sat, 04 Dec 2021 17:47:26 -0500 Received: by mail-yb1-xb33.google.com with SMTP id f186so20224172ybg.2 for ; Sat, 04 Dec 2021 14:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=7TqXG1z6117Qnmq6D4Ou5E98vVBVnsWboHVVXKD2cSU=; b=T1UUQu6x3MUTtcWpd2anZPinGlvZNaQHQpYeSnlf/vDZ3Wo/g7/ATat1lnWt9q2ZYP b5MkdFtxiJTpWg0QGQx0khd7tztP8U4s14/9J4DZ4IAJYPyfnLH9NQIv4xKk8/zhDPZh bL12ae4XyU/0twB2yhWSpeso0dE5hdeda7IZWkMsB0Fev7Kx3Zn9MFoThO+75bzf/XV1 B4b7M+dzNQBayAy13OnCvxHWyq941QgeVpPTh1DUget/WmnQyTpHWu+Wty+2aiGzypQ/ oKLUDn1YsuUTFOC9xhjSmXmlDWiOenY7RXEPh0puKcIApmNA3TKxJcG9AHsZU50PoXZG daKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7TqXG1z6117Qnmq6D4Ou5E98vVBVnsWboHVVXKD2cSU=; b=NhCwCO2ketNNd4jF/0fpv33lSBCeFO4QAHlT3rbkHxBbFfNarpHVv1N3+i0fbN21j1 Z5L2KBEByBwIoXxrOecNm2F3+7Of6ls/JsxJIOPH5z/kmPDAX6/GVejeS4tEniZsxlP4 zgUiBj/WWOMMMnf2Oxcx5rTjIniRf/po5YR385gq8fJoEjURMqAVHj5xyITs31d4RQM1 49Aif2gjAMQOoB1HFQ+7tRDPNSmJOUhELsVdECEjmAUUlQek1H4Ssn0xIFcptwyi49fD w0SLQVlDWwOPWBrIkutc2pr9lVmBFpNxRTb8zXDiG4r3aFXiApltZCnC44NEMLH9nOgf 8SBQ== X-Gm-Message-State: AOAM532BcebRulgTdpp+OsMWSXLztw5mX8sGHv4Bq3BEs6Zy1xmKNmVp 3JbtwV7kE4xMx1lF796Y9kGpj2O4T6BV89zVO+Gca50avb0= X-Google-Smtp-Source: ABdhPJxMaLZLfTnX1vlxdcitjkeLAadt0PlRs8OD+eA4MaQYxLrTNlg0b40u2M1Zicsffak5Hs9MzTKaJUw59chrnVI= X-Received: by 2002:a25:da10:: with SMTP id n16mr32139501ybf.24.1638658043095; Sat, 04 Dec 2021 14:47:23 -0800 (PST) MIME-Version: 1.0 From: Nathan Dehnel Date: Sat, 4 Dec 2021 16:47:12 -0600 Message-ID: Subject: How to put a file in /gnu/store and set its permissions To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b33 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b33; envelope-from=ncdehnel@gmail.com; helo=mail-yb1-xb33.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638658067; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7TqXG1z6117Qnmq6D4Ou5E98vVBVnsWboHVVXKD2cSU=; b=jZeJHKjbZrN1rtjpZnRPy5XiM7Sn6sEgedxv9B00d4iLB15d4g7BRr9ULTteNHhF/s8m3M T8HQd1aDVkAFtscOKydmkL3Y2OeaY39qkykQK6V7OsB3V/MnmEF8Yf9K5WtYkS1Dhpunzl 2uycJ2tlXUqc257wF22hOwq+ODIJ2BonMtTD8NAtoE4BsWavM/PkTGgxZPR4oGnkJjFyMr NdX8mUubovyunIIvaoqPPXcbip9payesoenZm63RxN81228j7EAy1yeR8aP/K0Zs396ZW2 9CURZZe+gryLPd5x3SSiC3lg6ArGJliKsfGW+InTN7q7AUcLfV7+01Xl1S5CcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638658067; a=rsa-sha256; cv=none; b=it5+oR99bMTKja/QMqkHkNxbsbvojURhwOtzQYFc53MIfbQCfKnbUeyW0WVjDw/1jaFqVG z+Bdhes+OUwMRKn4fdSKBcNY80ypRkw6G+K3lx5ZCO/T4/H6EvfJFFifA7m+ddk8W//clE nANXrKL3/LiN6a/sMt8BVQFHaaSdi/uLuEimeEcYjIkqSPl+L4fI2QZTkwf0uysbOG6DN3 l4tGnBWqSRESoUWfWH3IEJKkWlFGWL751xTEgjvFfwW/99xGsrrjwtH+IA7DqeGw41faw1 uqXJjc/0p8mQX9oUOk/N5r4zsSgqtaTMkMmC8oW0KFQxWk7HgiDokSdqAL8Kig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=T1UUQu6x; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=T1UUQu6x; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 33F79CDF0 X-Spam-Score: -4.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: nIAAGba6Sq/R 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?