From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sKNPFkRR/GHVrgAAgWs5BA (envelope-from ) for ; Thu, 03 Feb 2022 23:03:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UKb7EkRR/GEAVwEAauVa8A (envelope-from ) for ; Thu, 03 Feb 2022 23:03:48 +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 160793E2F6 for ; Thu, 3 Feb 2022 23:03:48 +0100 (CET) Received: from localhost ([::1]:48822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFkCg-0002NS-Qj for larch@yhetil.org; Thu, 03 Feb 2022 17:03:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFjag-0003sj-0v for bug-guix@gnu.org; Thu, 03 Feb 2022 16:24:30 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFjaE-0000pK-VE for bug-guix@gnu.org; Thu, 03 Feb 2022 16:24:28 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFjaE-0007xn-SU for bug-guix@gnu.org; Thu, 03 Feb 2022 16:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53752: guix home symlink permissions Resent-From: Zacchaeus Scheffer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Feb 2022 21:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53752 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Thiago Jung Bauermann Received: via spool by 53752-submit@debbugs.gnu.org id=B53752.164392339030527 (code B ref 53752); Thu, 03 Feb 2022 21:24:02 +0000 Received: (at 53752) by debbugs.gnu.org; 3 Feb 2022 21:23:10 +0000 Received: from localhost ([127.0.0.1]:58118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFjZO-0007wJ-Ch for submit@debbugs.gnu.org; Thu, 03 Feb 2022 16:23:10 -0500 Received: from mail-ej1-f48.google.com ([209.85.218.48]:43738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFjZK-0007vO-5d for 53752@debbugs.gnu.org; Thu, 03 Feb 2022 16:23:09 -0500 Received: by mail-ej1-f48.google.com with SMTP id d10so12710836eje.10 for <53752@debbugs.gnu.org>; Thu, 03 Feb 2022 13:23:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NZ46hDI2akv6NEd0EocaZt0HtnWQIMJf0BSDUmDmdyE=; b=B9O/1tx+g7Ijl7f0xziWuTIj9ztPqh0eKXNqCK+NzYVKxLxwP+GKU/pP6qY5MMqFMx y0AoOQBa5FJYcyKvPni2HPkVlOXlWZ+pXZkgO435zBdiGQNTvfdaanFHWxpnP/e+DagP tps/20JlmpEr+41737qF43y3mELeeS35Qlf254KeUwrHMmYf/wdH63Ke6XfgW87dRQB5 HXTFftKNPAOQhO6bg+e6eTjWHtq5fOnHtmoqVZhp+1h//zgmY6DuI5yq8VJpUmXx90RM mSdQbnXz96Sli4kDH858a0l3uxjqljveDcG6QLRtckvQ1LMxcO+kmc45wwQUI+xAO7z2 zGqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NZ46hDI2akv6NEd0EocaZt0HtnWQIMJf0BSDUmDmdyE=; b=3iCby3gUKwZTS3Hv9a8ZBkq+J4Cn8gbnSTVpNXUVuUrhDCvpu8wdhcNo7vcGvFFvEI DE0mwABv3hkm/e+nZkGFkWwvW9s0XEaE4W0ir9ICXPeC9RydNbhJGgs2T2sx63+lQm2E CjFSL5BVwosJxJ+Kh6+E1EitH6iRFedj151Og8sXbPzud83jQFrEg7r1d47RBMMsM/pl tuniBZ+E67sgCaaQ3OFg49iCEw1b85KAMBCQuR5GCpV/B0iC1pM4mFPSavtUD3VJ1Xmu XHQa5vVRREZM5UQYcSp8Ym1If7IZ6kvU9ZMbF4SUg9+ISU4b+lY1G1I7qVNguTT8QqUC vTug== X-Gm-Message-State: AOAM530PXn6LU2KW/xHFdlB78tM0ZxnSXVxl3B9IEFtDCZdVE8fSHoJL 0w3OdteVu2WCEJP9hEnXfHnk2IiO+TbuMmFTSqo= X-Google-Smtp-Source: ABdhPJzYXncF6t7ofK1uZ5Vg4MoNek3F2jTuaN4pKZP48E2k0LRcTbxQ1qSQiAYqZr4ugrUg+mwfM0VNyHT2/wtiTC0= X-Received: by 2002:a17:906:9b87:: with SMTP id dd7mr30435982ejc.178.1643923380029; Thu, 03 Feb 2022 13:23:00 -0800 (PST) MIME-Version: 1.0 References: <1737102.PxY0oXxzeL@popigai> In-Reply-To: <1737102.PxY0oXxzeL@popigai> From: Zacchaeus Scheffer Date: Thu, 3 Feb 2022 16:22:49 -0500 Message-ID: Content-Type: multipart/alternative; boundary="0000000000001acc0b05d723bd26" 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: , Cc: 53752@debbugs.gnu.org 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=1643925828; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=NZ46hDI2akv6NEd0EocaZt0HtnWQIMJf0BSDUmDmdyE=; b=ddRvr4V5cTR7M65fVTiwG7zkvAKmBm/v+ayHogp1td+tZprePWQIXDSrmkezXjNlq9CiGq sE4bc1NHtSpTzCDLOHlyOQg0JgzoWk78cvrfPw+WVY/ikIo9v2g+yysNRpqLBAahi4TAUJ PZeOFweRjKnC+vxbQC9GSBb9TZ4OxuXFhQJmM6tuCk9PE+VlvNHNWZQPQhbw25/yJyQKAF /I3RwiIM8MsWYpncmqbWER8ReDScMjeilDAl/NsRfHg0JLid/Z6d3aCHdzFrnZXFHDR/JN AdJwxn3pgxcyhzObUrKxRubsWvhk9zjgkq+9I8o+Yztrk8rZIstj0ZWVHTjrtg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643925828; a=rsa-sha256; cv=none; b=KiMQTgslF7LMhzGzzqNtGfEEnq2yMJ49URld1M8ehcl3AEuHFzHcBCwUMUccWclBgh8afD HP2+anJK3WjDQo8TkKbWDdH410aJBjAXdR+3KDmGKLvfC/c0GjxOjyOvK0Jcan7Tgym7mT Cf6e2BjmyKNs+NbU4qTa7x5k6r1LeVHy2bCz17zmksJp7sEIYDEqFvtiLXxRKXTF5RQxxJ 9YY+yrKJuQx64F0m8wB24N/3wNHZd3MC3+OKl5M8wSMzkeJyAPTjQjEjsVapBCMEQ4OWo3 p0Dy0EPBMLdT6o1u7JPXnHjxVUNRet3KpFczmejPXikYfvZSEemRzJd5pLsTSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="B9O/1tx+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="B9O/1tx+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 160793E2F6 X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8LZnQZRCSF2O --0000000000001acc0b05d723bd26 Content-Type: text/plain; charset="UTF-8" It seems the permissions on the symlink don't matter. The problem is that the file linked to in the store is readable by everyone (which I am ok with because it's just public keys). There is a solution with guix system by configuring openssh directly (see openssh-configuration -> authorized-keys), but there really should be a way to do this with guix home. (anyone that can call guix home for my user can see/modify my authorized_keys anyway) Maybe this bug should be renamed to something like "guix home cannot configure authorized_keys"? --0000000000001acc0b05d723bd26 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It seems the permissions on the symlink don't matter.= =C2=A0 The problem is that the file linked to in the store is readable by e= veryone (which I am ok with because it's just public keys).

There is a solution with guix system by configuring openssh directl= y (see openssh-configuration -> authorized-keys), but there really shoul= d be a way to do this with guix home.=C2=A0 (anyone that can call guix home= for my user can see/modify my authorized_keys anyway)

=
Maybe this bug should be renamed to something like "guix home can= not configure authorized_keys"?
--0000000000001acc0b05d723bd26--