|
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.
nextcloud_ynh/scripts/upgrade
Line 320 in bcba5c3
This locked me out of my server twice: this line changes the home directory permissions and its subfolders, including
.ssh/$HOME/.sshhas 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.