Skip to content

ec2-data: /etc/ssh owned by "755" #347672

@basbebe

Description

@basbebe

Describe the bug

#340489 seems to have introduced two lines that apply a chown where a chmod seems to have been intended.

This makes VMs using that module unavailable via SSH since permissions are incorrect.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build NixOS config using unstable branch and ec2-data (e.g. openstack-config)
  2. Switch
  3. check permissions of /etc/ssh

Expected behavior

/etc/ssh and root/.ssh should be owned by root and have permissions of 0755 / 0700

Notify maintainers

@r-vdp


Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions