GNU bug report logs - #57217
home-openssh-service-type creates .ssh/config with wrong permissions

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Elias Kueny <elias.kueny@HIDDEN>; dated Sun, 14 Aug 2022 22:03:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Aug 2022 22:02:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 14 18:02:48 2022
Received: from localhost ([127.0.0.1]:40018 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oNLgz-0005dB-Iq
	for submit <at> debbugs.gnu.org; Sun, 14 Aug 2022 18:02:48 -0400
Received: from lists.gnu.org ([209.51.188.17]:40916)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <elias.kueny@HIDDEN>) id 1oNIYi-0000bj-BS
 for submit <at> debbugs.gnu.org; Sun, 14 Aug 2022 14:42:03 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50026)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <elias.kueny@HIDDEN>)
 id 1oNIYi-0004RX-4z
 for bug-guix@HIDDEN; Sun, 14 Aug 2022 14:42:00 -0400
Received: from mout02.posteo.de ([185.67.36.66]:40395)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <elias.kueny@HIDDEN>)
 id 1oNIYg-0005dU-5S
 for bug-guix@HIDDEN; Sun, 14 Aug 2022 14:41:59 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 79744240104
 for <bug-guix@HIDDEN>; Sun, 14 Aug 2022 20:41:53 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1660502514; bh=FM5ZN5soKZ40DolKq7U9Jnem7rt3+tR2r/ta+sRWvAs=;
 h=From:To:Subject:Date:From;
 b=D3o05uhb7+5qieEDYSJjMGhxOmUGt1TxQjIEJlN9D9tmauT9AhfNgV9zqiJW4ljwz
 5nRrD5JhwHPxUkFLU2SuxzxSlAHQGigQglpTzC1ase3MHKs7SWUk2b+TymC+MCG5pc
 knwNHdO0H3CoOfAQVqRtYUhhH9gMotvTHhbG4FRQTgrVhapfgHmj89TVjF51/UFXHg
 8f+EUJ+4uNRVGoyUcRrHnaAtPvZRJSEuHFpv3QZ0aWx3qDa2eQjcCmyFL6IVD+VHTK
 BAcLGhrMgSAEdGWIbFH9KoFGHUxttUrTkhXn/KoFgoCPmCM6TvKjW/OmobbE3CIaQd
 3Bs/1xYkoUVZg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4M5R8c6qlVz9rxM
 for <bug-guix@HIDDEN>; Sun, 14 Aug 2022 20:41:52 +0200 (CEST)
From: Elias Kueny <elias.kueny@HIDDEN>
To: bug-guix@HIDDEN
Subject: home-openssh-service-type creates .ssh/config with wrong permissions
Date: Sun, 14 Aug 2022 18:04:14 +0000
Message-ID: <877d3ais5w.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
Received-SPF: pass client-ip=185.67.36.66; envelope-from=elias.kueny@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 14 Aug 2022 18:02:44 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello,

I'm trying to use home-openssh-service-type. I'm testing the configuration by running
  guix home container home-configuration.scm

The files are created with too open permissions, so ssh refuses to run:

  $ ssh xxx
  Bad owner or permissions on ~/.ssh/config

  $ ls -l .ssh
  lrwxrwxrwx 1 user users 59 Aug 14 18:17 authorized_keys -> /gnu/store/y8g2d9kmlrhfna23r26cfgp5mr1sxl72-authorized_keys
  lrwxrwxrwx 1 user users  52 Aug 14 18:17 config -> /gnu/store/dnnzwrz4hp1z6wnr76a6j57v95vyrbf3-ssh.conf

And the file system being read-only, a manual chmod is not possible.


  $ guix describe
  guix 9e46320
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 9e4632081ff31bf0d1715edd66f514614c6dc4bb

Best,
Elias




Acknowledgement sent to Elias Kueny <elias.kueny@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#57217; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 31 Aug 2022 11:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.