unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Elias Kueny <elias.kueny@posteo.net>
To: 57217@debbugs.gnu.org
Subject: bug#57217: home-openssh-service-type creates .ssh/config with wrong permissions
Date: Sun, 14 Aug 2022 18:04:14 +0000	[thread overview]
Message-ID: <877d3ais5w.fsf@posteo.net> (raw)

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




             reply	other threads:[~2022-08-14 22:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14 18:04 Elias Kueny [this message]
2022-09-23  7:13 ` bug#57217: home-openssh-service-type creates .ssh/config with wrong permissions Ludovic Courtès
2022-09-23 20:15   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877d3ais5w.fsf@posteo.net \
    --to=elias.kueny@posteo.net \
    --cc=57217@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).