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,8 +61,9 @@
root = "/persist/state/${user.home}/ssh";
in
[
"Z ${root} 0755 ${user.name} ${user.group}"
"d ${root} 0755 ${user.name} ${user.group}"
"d ${root}/.ssh 0755 ${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}"
];