From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id COZRH+/lo192WAAA0tVLHw (envelope-from ) for ; Thu, 05 Nov 2020 11:45:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OKszG+/lo18jJQAAB5/wlQ (envelope-from ) for ; Thu, 05 Nov 2020 11:45:51 +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 D617A940119 for ; Thu, 5 Nov 2020 11:45:49 +0000 (UTC) Received: from localhost ([::1]:50118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kadi7-00053i-Ck for larch@yhetil.org; Thu, 05 Nov 2020 06:45:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaclK-0002Y3-MC for bug-guix@gnu.org; Thu, 05 Nov 2020 05:45:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaclK-0001QC-CK for bug-guix@gnu.org; Thu, 05 Nov 2020 05:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kaclK-00071b-9x for bug-guix@gnu.org; Thu, 05 Nov 2020 05:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44463: Skeleton files in sub-directories are not writable Resent-From: Reza Alizadeh Majd Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 Nov 2020 10:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44463 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 44463@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160457309326967 (code B ref -1); Thu, 05 Nov 2020 10:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Nov 2020 10:44:53 +0000 Received: from localhost ([127.0.0.1]:51803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaclB-00070r-49 for submit@debbugs.gnu.org; Thu, 05 Nov 2020 05:44:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:35018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kacl8-00070j-70 for submit@debbugs.gnu.org; Thu, 05 Nov 2020 05:44:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kacl7-0002R4-Vk for bug-guix@gnu.org; Thu, 05 Nov 2020 05:44:50 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:40755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kacl5-0001Ik-HY for bug-guix@gnu.org; Thu, 05 Nov 2020 05:44:49 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id EA90F9EF for ; Thu, 5 Nov 2020 05:44:44 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 05 Nov 2020 05:44:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=fm1; bh=NDNbiQRUCwe9PH0wna89lzgJMh oYmpFdQ9U3hZRus/8=; b=LVTNaWLYY1LSjvo7yd5qvPuY0kLJ0WCYM/gO9zgaY9 LmGYyKVLYWtljmJvp+Z1VSqzEQQJ5bDFPMhClmUfTdCuFV9nIn4JjFWLIkBx09pi rlW5xDqgERYuOyDGCy0soTiaYpxv9efcH7K37mDhk5gPMCq8kmRftBfruY2isDCX QXNZSlAD5cSVmoh3GIYtHbl9g/wNu7yWm5EPlx0Cjcm15gnAdg5JSIPg9EbmEBxU zIrq/vRLfsWFBBmGUdwyWB4M8RQyqrCSeoAJyK6467TC2Ybd52OMh5MuzjyHXdCU 2ySsMyBSDjowqVv1W4AIt2I/NM5DY0GLSw2/i9uWn6NA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=NDNbiQ RUCwe9PH0wna89lzgJMhoYmpFdQ9U3hZRus/8=; b=WcagDowV9SRnviiizLtkHt UKsdF3IsuZHN/yM3R/EbK0xJ8LLWsIfub0fvAWL9lPj3pJM9mn23wwMAuo7ISUqC MlcbwRugDet6SgX62egCY8rc1jExplWLob8PhX4cVWEjtxC5BgvXjrveCLI5mSxU 00d0t9huMFlq/Km1ofxDfGR+7Q3W+4qmLobNu3b77rt16/b6iB500hBwc0CYRwvi oQn55FW4UpD37DvlNaoR7/3U49NvYUi4nYinlpunrP6Eg3u8KZ04gvWNfOiPVwMR Dea5gWjnSDsEMynTR83REnbQklFZutWg87UlsE8irnKBmS4XJxZCnOfXk1fpUpgg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtjedgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkohfogggtgfesthejre dtredtvdenucfhrhhomheptfgviigrucetlhhiiigruggvhhcuofgrjhguuceorhdrmhgr jhgusehprghnthhhvghrgidrohhrgheqnecuggftrfgrthhtvghrnhepffdufeejvdfgje ehtdekjefgjeejgeehtdduveegvedvtdeiledtieeivedtieetnecuffhomhgrihhnpehp rghnthhhvghrgidrohhrghenucfkphephedrvdeftddrvddvrddvvdenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrrdhmrghjugesphgrnhht hhgvrhigrdhorhhg X-ME-Proxy: Received: from localhost (unknown [5.230.22.22]) by mail.messagingengine.com (Postfix) with ESMTPA id 5AECB32802F8 for ; Thu, 5 Nov 2020 05:44:43 -0500 (EST) Date: Thu, 5 Nov 2020 14:14:37 +0330 From: Reza Alizadeh Majd Message-ID: <20201105141437.486402c9@pantherx.org> Organization: PantherX X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=64.147.123.25; envelope-from=r.majd@pantherx.org; helo=wout2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/05 05:44:45 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.6 (--) X-Mailman-Approved-At: Thu, 05 Nov 2020 06:45:36 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=pantherx.org header.s=fm1 header.b=LVTNaWLY; dkim=fail (headers rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=WcagDowV; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: 74MCdzLrm1U6 Hi Guix, trying to add a new skeleton file in a sub-directory in newly created users home, skeleton files add in read-only mode. since there shouldn't be any difference between adding a skeleton file in user home directory, or in a sub-directory under user's home, I assume this might be a bug related to skeleton file creation. following configuration could be used to reproduce this issue: --8<---------------cut here---------------start------------->8--- (use-modules (gnu)) (define (test-skeletons) (append `(("test" ,(computed-file "test" (with-imported-modules '((guix build utils)) #~(begin (use-modules (guix build utils)) (mkdir-p #$output))))) ("foo" ,(plain-file "foo" "foo is writable")) ("test/bar" ,(plain-file "bar" "bar is read-only"))) (default-skeletons))) (operating-system (host-name "guix.test") (timezone "Asia/Tehran") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) %base-file-systems)) (skeletons (test-skeletons))) --8<---------------cut here---------------end--------------->8--- generated skeleton files status: --8<---------------cut here---------------start------------->8--- root@guix ~# ll total 4 -rw-r--r-- 1 root root 15 Nov 5 14:05 foo -rw-r--r-- 2 root root 15 Nov 5 14:05 test/ root@guix ~# ll -r--r--r-- 1 root root 15 Nov 5 14:05 bar --8<---------------cut here---------------end--------------->8--- Regards, Reza -- Reza Alizadeh Majd PantherX Team https://www.pantherx.org/