From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oIo6JxqofGUVFwAAkFu2QA (envelope-from ) for ; Fri, 15 Dec 2023 20:25:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AN79IxqofGXFfAEA62LTzQ (envelope-from ) for ; Fri, 15 Dec 2023 20:25:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tilde.club header.s=mail header.b=wobqKoZF; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tilde.club (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702668314; 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: content-transfer-encoding:content-transfer-encoding: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=j5w5ZGIBBk9tAFyhN+hSsS/M5nrZM/fsy47PWXiO14Y=; b=Nh8TJs5HJ5TAtq0VuGlETJEmy7SX8fsyGtjSJTrokzwfp4QWNd4Ysp2oigPp8JgMKQX9qe np4y9BnmKzf1EWmf+e9C94FUAdDM2dWFrd0pNclP9lwpHK7TDXoc/Gj6ahG40Q9YhZjDAr WX4cG5PdWdiW/lJClK56gZx1pkrdu6j4zEhs3yijLQtDDU3XK6FPNvcMzo6A2IT495i5tH X4ppeK7+17qU6OlPDAYJ/+5/kQ2zT6cOWlN9bGByxCDlHh2x4gypEbgDzS51QfecyictBK 9eembzGXXNrhymWgrPfowC4ikTNFoetMu2xKcURduZ2HPL+DMa244B2lCJJdBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702668314; a=rsa-sha256; cv=none; b=HOGcNO1Y4TXmtvetdS3UePLNkucnCdhOa0uU4TAfrTbDFLoAaDMIR3LhVgCk9scTxPJxX9 vTrwMECxHbbPjWe80uuI/yc/NHx3E/XG7q+7BNLIXTb++mlPQ6M7onLLCmU5dNYBifZIqo aPVVII0taDiR1ylyZodPaS6OJi1gSCUolDSm+EHfcJXSsLyIbdJTgfm3+9fHtK+ryBt15l v/+UrmzY4vjzzR0tWSz+mlP31A8z8+TNfi/xE7gOJQ2RCPoSX/rcvQpOWgFiuqGkRjEuuN ZXLs2tq+azudZZArP3gbJxdZEEiS1YX8AU7t0e3C3/0HsnCSGF2ev97YJPPbXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tilde.club header.s=mail header.b=wobqKoZF; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tilde.club (policy=none) 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 A295317738 for ; Fri, 15 Dec 2023 20:25:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEDo0-0008Uh-7V; Fri, 15 Dec 2023 14:25:04 -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 1rEDny-0008TX-Oh for guix-patches@gnu.org; Fri, 15 Dec 2023 14:25:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rEDny-0000Wj-C5 for guix-patches@gnu.org; Fri, 15 Dec 2023 14:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEDny-0007Yd-E5 for guix-patches@gnu.org; Fri, 15 Dec 2023 14:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67789] [PATCH] doc: Secure Shell: Add note about sshd and wrong permissions Resent-From: "ShinyZero0" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Dec 2023 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 67789@debbugs.gnu.org Received: via spool by 67789-submit@debbugs.gnu.org id=B67789.170266828029004 (code B ref 67789); Fri, 15 Dec 2023 19:25:02 +0000 Received: (at 67789) by debbugs.gnu.org; 15 Dec 2023 19:24:40 +0000 Received: from localhost ([127.0.0.1]:53471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEDnc-0007Xk-2i for submit@debbugs.gnu.org; Fri, 15 Dec 2023 14:24:40 -0500 Received: from tilde.club ([142.44.150.184]:38618 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEDnX-0007XT-HG for 67789@debbugs.gnu.org; Fri, 15 Dec 2023 14:24:39 -0500 Received: from localhost (unknown [77.91.85.198]) by tilde.club (Postfix) with ESMTPSA id A2EA8223DC634; Fri, 15 Dec 2023 19:24:33 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club A2EA8223DC634 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1702668274; bh=j5w5ZGIBBk9tAFyhN+hSsS/M5nrZM/fsy47PWXiO14Y=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=wobqKoZFGC/Gxkd4IamX1GHwkTpmBG3eTa6+t7XdWCXjpy23+urbaWcley6X0mf1X Ny0/OXntVyGVaSuiqs/8vY0ZWWBr9UrKeLK4UJiGRUCohmY4iK3Xp9x3nputOfyfcj C+N5JnC12rrxXMFW114kw5TcrT8tuF3AUj5uCJzI= Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 15 Dec 2023 22:24:23 +0300 Message-Id: From: "ShinyZero0" X-Mailer: aerc 0.15.2 References: <20231211233532.63690-1-shinyzero0@tilde.club> <87le9wx5kt.fsf@gnu.org> In-Reply-To: <87le9wx5kt.fsf@gnu.org> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.08 X-Spam-Score: -4.08 X-Migadu-Queue-Id: A295317738 X-Migadu-Scanner: mx12.migadu.com X-TUID: ByH8eIdhj0vY On Thu Dec 14, 2023 at 4:43 PM MSK, Ludovic Court=C3=A8s wrote: > On my laptop permissions seem to be good: > > --8<---------------cut here---------------start------------->8--- > $ ls -ld ~/.ssh/authorized_keys=20 > lrwxrwxrwx 1 ludo users 59 Dec 10 23:36 /home/ludo/.ssh/authorized_keys -= > /gnu/store/k79g5iaaa7gij52nrbhjz6fqq7banzdz-authorized_keys > $ ls -ld ~/.ssh=20 > drwx------ 3 ludo users 4096 Dec 10 23:36 /home/ludo/.ssh/ > $ ssh localhost uname > Linux > --8<---------------cut here---------------end--------------->8--- > > Maybe there are cases when this is not the case, maybe when ~/.ssh does > not exist prior to running =E2=80=98guix home reconfigure=E2=80=99? > > Thanks, > Ludo=E2=80=99. I'm using guix on foreign (Fedora) distro, obviously i had ~/.ssh directory with right permissions before replacing it with guix-generated one. Maybe it's vice versa: the permissions are wrong when the ~/.ssh is being replaced? Honestly, i thought it's unfixable, like, can we change the permissions of a symlink? Oh, and i checked my permissions, and they are the same. Maybe the problem is in somewhere within my sshd? Thanks, Paul.