1
Fork 0

Fix ssh persmissions (last take)

This commit is contained in:
prescientmoon 2024-08-28 00:18:45 +02:00
parent 819dfd483f
commit 9d6964d0f1
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -61,9 +61,10 @@
root = "/persist/state/${user.home}/ssh"; root = "/persist/state/${user.home}/ssh";
in in
[ [
"Z ${root} 0755 ${user.name} ${user.group}" "d ${root} 0755 ${user.name} ${user.group}"
"d ${root}/.ssh 0755 ${user.name} ${user.group}" "d ${root}/.ssh 0755 ${user.name} ${user.group}"
"z ${root}/.ssh/id_rsa 0700 ${user.name} ${user.group}" "z ${root}/.ssh/id_*.pub 0755 ${user.name} ${user.group}"
"z ${root}/.ssh/id_rsa 0700 ${user.name} ${user.group}"
"z ${root}/.ssh/id_ed25519 0700 ${user.name} ${user.group}" "z ${root}/.ssh/id_ed25519 0700 ${user.name} ${user.group}"
]; ];
# }}} # }}}