From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cPMDKtmjyGFOMQEAgWs5BA (envelope-from ) for ; Sun, 26 Dec 2021 18:18:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CHNJJ9mjyGFscAEA9RJhRA (envelope-from ) for ; Sun, 26 Dec 2021 18:18:17 +0100 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 3257922A1F for ; Sun, 26 Dec 2021 18:18:17 +0100 (CET) Received: from localhost ([::1]:40522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1X9z-0000bj-W0 for larch@yhetil.org; Sun, 26 Dec 2021 12:18:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1X9m-0000bL-JT for bug-guix@gnu.org; Sun, 26 Dec 2021 12:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1X9m-0003zG-At for bug-guix@gnu.org; Sun, 26 Dec 2021 12:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1X9m-00040H-4T for bug-guix@gnu.org; Sun, 26 Dec 2021 12:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52807: Guix home executables are not executable Resent-From: "Nick Zalutskiy" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 26 Dec 2021 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52807 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52807@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164053905015249 (code B ref -1); Sun, 26 Dec 2021 17:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Dec 2021 17:17:30 +0000 Received: from localhost ([127.0.0.1]:41435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1X9G-0003xt-AJ for submit@debbugs.gnu.org; Sun, 26 Dec 2021 12:17:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:58286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1WwB-0003Z9-0R for submit@debbugs.gnu.org; Sun, 26 Dec 2021 12:03:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1WwA-0007FL-RA for bug-guix@gnu.org; Sun, 26 Dec 2021 12:03:58 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1Ww8-0002EP-Ut for bug-guix@gnu.org; Sun, 26 Dec 2021 12:03:58 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D3B1C5C0077 for ; Sun, 26 Dec 2021 12:03:51 -0500 (EST) Received: from imap43 ([10.202.2.93]) by compute4.internal (MEProxy); Sun, 26 Dec 2021 12:03:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=const.fun; h= mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=DYhaUS0+JSpl1WonAsuMW2K4andVlR/6X5l9Pg5hZsQ=; b=O5uISw+h pvXUA4djYy+m7tnxLC58d/qx9Qy3rvepc21qhyHOSiBg8/laXn13tL8vvi9wjMK5 Kaw8RmG32bY/UjfBBNNSTYx/9KAtkGL+76j074EKBS8HLaBya9DSxsr+yk3VwAFl 58WmnZATQEeWIsSb+ep99eqGgpccThGM9pB3Tndx7h2nnTmOX6M0Pl1NNS72K+ge gBlO7LaalE1r9da4wv9S3RN84z56lwmmh3Dx1oGyvxFPuidLRO2q3rD3Nto1fdL2 1sTGLKYBwQIbtSdxP97BcxQ7I3Hg+xhEtWa7S1HiEONqjQQOe0Mf05U/vuKULign 3+T8CGxA83O86g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=DYhaUS0+JSpl1WonAsuMW2K4andVl R/6X5l9Pg5hZsQ=; b=H9g+IvhpjlA1DPw9x/kFHh0wMyJKnmvJ0e2PW7fA531SQ NWwlTiw8L8VFoMthLghYFTmAUR15K5nXK9ecZCd5CrsXEiYtZ1jAAibeB9dZPl5s ycIvXhJQy/1ieJ90eFSTbFq3CjqxJ2w/ni1JAECx3AXBgnYzWPkfETznC2xNJQgT 0fD0KJdFyAaz2ctDjt2Qe0krbOkXme1bfDzwa5o5p+H67V3ay8yOY3QL+txvsO0i 3uhtaoyU1y8JTs/tBnFfgx+ln8ze+S5g/ibC4j9ceFRdlx5XwvsRT2+PVfr0K1Qk vK/ql+ThdqdOJ5q9xCmEmMEGurqIEU545+KcNE/Xw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddugedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedfpfhitghkucgkrghluhhtshhkihihfdcuoehnihgtkhestgho nhhsthdrfhhunheqnecuggftrfgrthhtvghrnhepheehhefgffelgeelkeffuddutdeftd eigeffleetvdegfedvleekueeuffekgfeknecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepnhhitghksegtohhnshhtrdhfuhhn X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8F46EAC03DB; Sun, 26 Dec 2021 12:03:51 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4525-g8883000b21-fm-20211221.001-g8883000b Mime-Version: 1.0 Message-Id: <66a55c86-8caf-489f-8fce-1a65e67a6780@www.fastmail.com> Date: Sun, 26 Dec 2021 12:03:30 -0500 From: "Nick Zalutskiy" Content-Type: multipart/alternative; boundary=db6156de0d0a4a24ac0b53720a887374 Received-SPF: pass client-ip=66.111.4.27; envelope-from=nick@const.fun; helo=out3-smtp.messagingengine.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=0.001, HTML_MESSAGE=0.001, PDS_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 26 Dec 2021 12:17:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-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=1640539097; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=DYhaUS0+JSpl1WonAsuMW2K4andVlR/6X5l9Pg5hZsQ=; b=Qf3rgaWypfj6hKEjt7sxtoLmr4zcfnCwkX9e8cVpDS8SwtYaREBu785HGR6/pCvN+9c3hG DtKfALjzcgxsaIgSNv2FT3rgIPMN4vAqV3nEPE2WhdPzYm9P1QS0eD16tUwP+lIWhYoLww x0vaRQfxkIBdV+m6v2nfSJ1Wn5tzn22aCfsYLtxnpHtctGblnoDBwdoCxJ5iNpCIvHBr0c gTXcNarWrp+LOQwWdHQfbxGsy6GTb3qLYmXyuBYEPbLpxf0lhwHfdI8o/x8Yakq0kQ57L/ Fj7vCGTAQLy3di9dKHM37pDAq2Db/DuhTuW5sDh1Rr2zv48SvMTj7tgQMdILKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640539097; a=rsa-sha256; cv=none; b=XthfG0KRiyt72SOcxM7lobcenGeuIn/HSZKAQMRCi/VsI9dM2ufTGsGSSRN0jczc7t1Wbt 0AUVKJ+IJCnA27MKklZ+hInY1wGCzc0NYRU1XBzD7ra6vIYhwGmY4nLMLc1+ar6E52BEn/ fOZoa9gw9lj57e3QLUTuPw4vNB1y+OAUjJuAja011pEfUlAX26zfsxBoUcpepdS8OHf/8W zCzcMSOrJxFbBG2sZEADipm7TRH+xWNpz/jqTcupySlafc4Yjjz6h0BvZ87k1lX9ycPn4Y CEZETxgtdpCLSynmWfv5BYwmSFO6QWoF21S+X9kayhriQevfXLBhRrKsuoCcVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=const.fun header.s=fm1 header.b=O5uISw+h; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=H9g+Ivhp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=const.fun header.s=fm1 header.b=O5uISw+h; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=H9g+Ivhp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3257922A1F X-Spam-Score: -1.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: wzXZHwmTfE/T --db6156de0d0a4a24ac0b53720a887374 Content-Type: text/plain I'd like to use `guix home` to symlink an executable into my home directory. Following simple configuration stored at `~/.dotfiles/home-configuration.scm` > (use-modules > (gnu home) > (gnu packages) > (gnu home services) > (gnu services) > (guix gexp) > (gnu home services shells)) > > (home-environment > (services > (list (service > home-bash-service-type > (home-bash-configuration > (guix-defaults? #t))) > (simple-service 'my-files > home-files-service-type > `(("run" ,(local-file "run"))))))) `~/.dotfiles/run` is an executable file, after home reconfigure a `~/.run` symlink is created, however the file it is pointing to does _not_ have the execute bit set. As a result, when I try to execute `~/.run` file I get a "Permission denied" error. Thank you, -Nick --db6156de0d0a4a24ac0b53720a887374 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
I'd like to use= `guix home` to symlink an executable into my home directory.
=

Following simple configuration stored at `~/.dotfile= s/home-configuration.scm`

(use-modules
  (gnu home)
&nbs= p; (gnu packages)
  (gnu home services)
  (gnu services)
  (guix gexp)
&n= bsp; (gnu home services shells))

(home-envi= ronment
  (services
    = (list (service
       &= nbsp;    home-bash-service-type
  = ;          (home-bash-confi= guration
        &= nbsp; (guix-defaults? #t)))
     = (simple-service 'my-files
     &= nbsp;        home-files-service-type<= br>
         &nbs= p;    `(("run" ,(local-file "run")))))))

`~/.dotfiles/run` is an executable file, after= home reconfigure a `~/.run` symlink is created, however the file it is = pointing to does _not_ have the execute bit set.

As a result, when I try to execute `~/.run` file I get a "Permissi= on denied" error.

Thank you,
=
-Nick

--db6156de0d0a4a24ac0b53720a887374--