Skip to content

Stop changing permissions on $HOME/.ssh #899

Description

@MayeulC

setfacl --modify g:$app:rwx "/home/$u" || true

This locked me out of my server twice: this line changes the home directory permissions and its subfolders, including .ssh/

$HOME/.ssh has strict permissions requirements. With this change, I cannot login anymore after nextcloud updates, and I must connect a keyboard & a screen to my server.

I understand the use-case for this option (though I do not recall ever enabling it), but I think that it should at least exclude $HOME/.ssh, or restore previous/stock permissions on that folder.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions