From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SzWLEn8oWGKMRQAAgWs5BA (envelope-from ) for ; Thu, 14 Apr 2022 15:58:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uBY2D38oWGLXPwAA9RJhRA (envelope-from ) for ; Thu, 14 Apr 2022 15:58:23 +0200 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 C431AB2DC for ; Thu, 14 Apr 2022 15:58:22 +0200 (CEST) Received: from localhost ([::1]:53524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nezzJ-00050B-Q2 for larch@yhetil.org; Thu, 14 Apr 2022 09:58:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nezz0-0004wS-Fi for guix-patches@gnu.org; Thu, 14 Apr 2022 09:58:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nezz0-0006YR-6u for guix-patches@gnu.org; Thu, 14 Apr 2022 09:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nezz0-0004AL-4p for guix-patches@gnu.org; Thu, 14 Apr 2022 09:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] [PATCH v5] Install guix system on Raspberry Pi Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Apr 2022 13:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: phodina Cc: Stefan , "48314@debbugs.gnu.org" <48314@debbugs.gnu.org> Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.164994466415990 (code B ref 48314); Thu, 14 Apr 2022 13:58:02 +0000 Received: (at 48314) by debbugs.gnu.org; 14 Apr 2022 13:57:44 +0000 Received: from localhost ([127.0.0.1]:56823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezyi-00049q-FO for submit@debbugs.gnu.org; Thu, 14 Apr 2022 09:57:44 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:39382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezyg-00049g-Fv for 48314@debbugs.gnu.org; Thu, 14 Apr 2022 09:57:43 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id Jdxg2700C4UW6Th01dxgLQ; Thu, 14 Apr 2022 15:57:40 +0200 Message-ID: <80407def8662e15c9a6ab7ffcfaaa89137641747.camel@telenet.be> From: Maxime Devos Date: Thu, 14 Apr 2022 15:57:35 +0200 In-Reply-To: <_G8Wp0VvUVQwRBwRglLXwBugZu8x_4_D739HjTzIFUqEBlHTehUq9JkCc0pSXhvZC1bJZTlFicZBHYs5ZROL_4LVIPQs34I2b7OymZM0FNU=@protonmail.com> References: <19E4796A-B0DB-444F-8773-2E8D3EF6132D@vodafonemail.de> <1JV7YdNsB7LB0ij9pMN5ktIsdpU8g98Lpu0yOrl_r6wFvRjqRJ5XqOktugKlia2rSeyNVEwY0b8VJrFJr1TsWgOIo-JW6EmTpj6Bz4dNzxQ=@protonmail.com> <86d36088dc4c81112e1529ef9e5e46d6629912c1.camel@telenet.be> <_G8Wp0VvUVQwRBwRglLXwBugZu8x_4_D739HjTzIFUqEBlHTehUq9JkCc0pSXhvZC1bJZTlFicZBHYs5ZROL_4LVIPQs34I2b7OymZM0FNU=@protonmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-HeWEJrHFDddSfh32VLoM" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649944660; bh=mSDXyHcikKj/Wfh3YpMI5bviwKmSq+eTpfXjHpi+nrE=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=F++sl97MkVOzRSHErNItwh+d6maTfY924SmAdgiD+qK5LaXQmngK7NcZPVzPBhKC2 XvgmMGAhJBGsgq7Da7WNkva74P+zHJ9uK7bG+o8Mz3kaycWm0QupiZ1MgKyVIgolzN KhWD0lNk127gRxsOaDeXazV2e+UfKQJv6ck8v8/fFCYUnojD8AQhcBGp/IF7PeukbB yvCPWsvuZe/48INGHPGb3XWBsTONzsDNnz3E8BMksMDexFx+lFVwf7Ll1r42R8NZdS rqxW9xuOczLTrx7VwNxOBjzgxDVIVuFFLMsK67LdvqYxFs6LyLi48Y+uUEiOHvo2r/ mz9qvvR1W1pJQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649944702; 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=mSDXyHcikKj/Wfh3YpMI5bviwKmSq+eTpfXjHpi+nrE=; b=Xl+D8CxfSIGUUOvEVFKPc1Swh6hl2GXqHZ6+u47nwlA10HC/+YzTY8nf35oHDoLzutILDZ /R7MwEd5hOVO8yBXRYG8wCTRncRnvvGrWtmBC1pLf97Pn4l8k3uXlvCNvSaZoTRQDSvTJD VntUrUUXQSTsF72ENz7Oro6OpZm91H0l6j+IXF6v3sNAH8ml8x280X4H84e/mtIlpcojcg lqHEqNMwvRH1jcRHwBqldcZZ98MH7GR1UhDKGkbQAnqDPaRaXLsDjs7i6QnNDjWpVS2/// GjK0I70XBx899nwTiiDeOTbVYFyXgHyVHGd1+rIGXPMtQwjESgu4wFeyvt47IA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649944702; a=rsa-sha256; cv=none; b=oOifIQjTMmaJKboUfEB5LHSPa7FdEtpctgtvUtNi4l3wVl261GmSmEHZJJtOa5b8HuYimi B2vW8HsG5Cmg/AW0t3S6TcQcA0o1UG8E3Q2WtpURWkCIpIdeaT9Linq1n44c0RdQjOFWmb cto/VbdcXo05LY8vrGK5ZnGH2hx0UTbYzhbj0PiyRn+CXsaHdsmZShnheKXHp9LRCtJ6Yt dbZGHH6qy5NZTuk+u8o2LCHsYoIDW3yOgCCIgyRINbwf8+WuEJvX4H3jOUVEFlSVKhfgAW l/paAGED8CBM+Vo17McmLUM77iFfOQDseKI6wwMeFQZvtCd7/HbM4vLvJozx0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=F++sl97M; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=F++sl97M; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C431AB2DC X-Spam-Score: 3.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: zovHZzWzKtwh --=-HeWEJrHFDddSfh32VLoM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable phodina schreef op do 14-04-2022 om 13:03 [+0000]: > ~$ ssh pi@192.168.1.181 > Last login: Thu Apr 14 14:52:56 2022 from 192.168.1.224 > Could not chdir to home directory /home/pi: Permission denied > -bash: /home/pi/.bash_profile: Permission denied > -bash-5.1$ id -u > 1002 > -bash-5.1$ id -gn > users > -bash-5.1$ sudo -E /gnu/store/ja92d7xpmyh94gm6n83bajx9dy4h6pbl-bash-5.1.8= /bin/bash > root@raspberrypi-guix /# ls -al /home/pi > total 40 > drwx------ 4 1000 users 4096 Nov 24 08:16 ./ You are logging in as 1002. /home/pi is owned by =E2=80=981000=E2=80=99. = =C2=A0Is this difference intentional? Maybe you have added two users, but with the home directory? (guesswork). > As you can see the execute bit is missing. Therefore running The user has the read-write-execute bits, the group and other don't. > chmod +x /home/pi/ > > fixed the problem. But I'm unsure why the home dir was created > without the those flags. I'm not on Guix System at the moment, so I cannot tell what the usual behaviour is, but why wouldn't the home directory be non-group- executable and non-other executable?=C2=A0 Unless you want to share the contents of your home to other users on the system, or if you have a web server that looks for http://.../~pi/index.html in /home/pi/web/index.html or the like, restricting readability, writability and executability to the actual =E2=80=98owner=E2=80=99 of the directory seems good security practice to me= . Usually, AFAICT, all that's needed is for $HOME to be user-readable, writable and executable. (/me quickly does "chmod go-rwx $HOME") Greetings, Maxime. --=-HeWEJrHFDddSfh32VLoM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlgoTxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ofTAP4m9v+xx+ODX/ys/yU5lzerybnC tIxqzeIQNpw5I/3HNwEAyeDw2MPo0n0NpfAhS+maT1nRfpD+Qgv1MpADGo8rdA4= =gFe5 -----END PGP SIGNATURE----- --=-HeWEJrHFDddSfh32VLoM--