From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IHHXMqBzsWVsAQAAe85BDQ:P1 (envelope-from ) for ; Wed, 24 Jan 2024 21:31:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IHHXMqBzsWVsAQAAe85BDQ (envelope-from ) for ; Wed, 24 Jan 2024 21:31:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=XwLmUR3A; 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"; dmarc=pass (policy=reject) header.from=disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706128288; 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=Kfc7XWRm6H9KSghiqtSYnrluOv7jhUcZsI/JEv/lAMY=; b=GbIh87hta5k+ALrdrmlYDumNF9BQuCowhtIA87xfMzCE9ZN8L7KDiXvJxai0E1R2lh+Fxq OYeAe/iwreWTcFxP8+tsCJPgq+1Xbpxc+kt307TGXdCoea1Tup0Q7II4miuEcKlwsmaDML 84ylpPHKHEJewHSnnzyb+UO7ajOrWvwyxOCEh0aWfx6nbtlCmPOtZOOGshYfdguB68cPLH UgeBtx3Ew7HPxy2ZziT7pV6ygrjuzSTnxqDKYzUXae/yh48yc8xX7+YfZg26WQ9t+AjlEa wXbdTX/WH+GzgcnlduHDZE+euGvBF31x9bHfVK0y9X3JnrQolehPrZnk4o5iHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=XwLmUR3A; 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"; dmarc=pass (policy=reject) header.from=disroot.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706128288; a=rsa-sha256; cv=none; b=Mgtx6QbjmxSRFBvXu1pK2aKp+jcgpcQ4hcu6K0umT9yxBOp6Oq5rGPFUkJ7cyjvM6+MKMe 6rzSwFAkJyu2eVK7i4KnTROF2hEKStKIATCmwZ6+GPNiX5WGmaYElZkZY/UoYPevuMO6pr NWs84svZUQ5JSxrTcsC3qMP6Vbozg0KH5VrmPeMnLq7hxdWP0B2fGzos49tcTXnzjlgt85 bmeD75cx6UlKbh1COhDEkIXxd5nYhxvzD/7SUMG8ojP+7iJ6bxLWyRXImKtu6BKpJNunaJ JyKE2MALcUCfIH9lha0Ic8BhYGkOuEdTZHfxP96oxFjfwZbWSk/ijclQD8iBOg== 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 A3859509D7 for ; Wed, 24 Jan 2024 21:31:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSjtk-0002Wm-Li; Wed, 24 Jan 2024 15:31:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSjta-0002UR-5E for help-guix@gnu.org; Wed, 24 Jan 2024 15:30:51 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSjtX-00063c-ME for help-guix@gnu.org; Wed, 24 Jan 2024 15:30:49 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0FA624135C for ; Wed, 24 Jan 2024 21:30:44 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fO1uYBUuWi-a for ; Wed, 24 Jan 2024 21:30:43 +0100 (CET) Date: Wed, 24 Jan 2024 15:30:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1706128243; bh=caYmIozOg0j8nprTDofy3AaO6okKabrlTsS6w+4kygA=; h=Date:From:To:Subject; b=XwLmUR3A0gz1vvvUWt2okU4TRbIA4fmz4ADB4wDT3HCk08wlyOOzp9Ib2XiNlUdhd b2geQqKZ4IeRfM8pR3moFnXF45zTWTFnHSUCYo+faW0Lk4n7Z/5QxYiNTeKqQjhge0 higEzYzLk+wchxOsuLY4LNs4V01QBrFXttru/2gb0RZjbWM2XoxI8zbkKBV0RzkUdJ ZhPRk4hfwpAtcv8wsjJCUXDhOoKVQl48vfTsxuIFKPrcLP5Q6Jeq93yBjvPiwKw7Lk LlN1+k/YbP47VX8GmDuPoSemDdv+iGlxou6hzb/aO56pYjpzgXYVCNosoutw7mWv5K Uz5Vz5Ho1lUdw== From: TakeV To: help-guix@gnu.org Subject: SSH home container permissions issue Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mbu4ezarfkcor5wi" Content-Disposition: inline Received-SPF: pass client-ip=178.21.23.139; envelope-from=takev@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -11.51 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -11.51 X-Migadu-Queue-Id: A3859509D7 X-TUID: bWL1MhrJeB+7 --mbu4ezarfkcor5wi Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline I am trying to test out ssh in a home container, but there is some odd behavior when it tries to read the config. The commands I used: > takev@gaba ~/guix/home$ guix home container -N config.scm > takev@gaba ~$ ssh [redacted] > Bad owner or permissions on /home/takev/.ssh/config Looking at the permissions on that file, and the weird thing is that both authorized_keys and config appear to be identical to the working version I have outside of the container: Container version: > takev@gaba ~$ ls -al .ssh/ > total 0 > drwx------ 2 takev users 80 Jan 24 20:03 ./ > drwxr-xr-x 7 takev users 260 Jan 24 20:03 ../ > lrwxrwxrwx 1 takev users 59 Jan 24 20:03 authorized_keys -> /gnu/store/vs9xkamzjpj5dmvxgpw58dj3ykrw1h1l-authorized_keys > lrwxrwxrwx 1 takev users 52 Jan 24 20:03 config -> /gnu/store/q1vgzvlz5ksn0q6mx2nvxj1i0m6adh60-ssh.conf Live version: > takev@gaba ~/guix/home$ ls -al ~/.ssh/ > total 32 > drwx------ 2 takev users 4096 Jan 24 15:12 ./ > drwx------ 84 takev users 4096 Jan 24 15:12 ../ > lrwxrwxrwx 1 takev users 59 Jan 24 15:12 authorized_keys -> /gnu/store/vs9xkamzjpj5dmvxgpw58dj3ykrw1h1l-authorized_keys > lrwxrwxrwx 1 takev users 52 Jan 24 15:12 config -> /gnu/store/q1vgzvlz5ksn0q6mx2nvxj1i0m6adh60-ssh.conf > -rw------- 1 takev users 419 Jun 4 2021 id_ed25519 > -rw-r--r-- 1 takev users 108 Jun 4 2021 id_ed25519.pub > -rw------- 1 takev users 13722 Jan 23 10:59 known_hosts Is this a bug, or is there some sort of setting I need to set? --mbu4ezarfkcor5wi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEEIYybeIHBowcAlEppk9BNFx0AK8FAmWxc3EACgkQpk9BNFx0 AK99ZwwA0bFqYIsMCovWKklrktg0rfAC2ef89wK9lTcHmkP5S1AfVfbc4c2/wGH6 /s9gYhZM20WVnhMYim3DSowruZy70O/Rk1idvkgn3ZALYxExPWzRtPbYktgSHNvv 9+x8Luy1n2UBKFB2JpA/+4OrEfrQxc5FN0QgNcZALwa9b1Y1S4XdVphhD62z2Blq edQfg1LdKvzMvtcT2AcA4v3876pAo4or1GvqKyEm1iGFD0Ep3DblWLJ5my7fXoPy 12l3Vu72LvPSCt9lEvKJvXfACAspcMb/AJnTcDf8a8hHfFi4ylLLkdImookZ3LIb TKZGaPYGLH3EFfeyx18QJdyU8b1q89Voa8/w+KDK5EYnuKCVan7rRQEhp37JumWa iejfo2UPpocKKLm/KvK9XzvOjDH56cHBP/szWvZ9WulYRw8cq56gWQ1djgvg+seb HYiJV8g+8RiiDY34lhdmzkxzJTg+pzAhN1ueT5xSyayeDGAh0f8bSK4ik32LOXE+ endILep4 =40VA -----END PGP SIGNATURE----- --mbu4ezarfkcor5wi--