commit 93b0d5ab27b5489582781f10d8175ae2bff7f2ba
parent 2d12ce72f67dcb34a780dbdcc0123cb4ab80c36f
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Tue, 26 Jul 2022 13:12:06 +0200
Extra chmod to make sure the directory is owner-write-only
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/install b/install
@@ -34,6 +34,8 @@ install_to_all() {
for cmd in init/bin/*; do
s6-ln -s ../$cmd ./command/$cmd:t || exit $?
done
+ # Ensure permissions for authorized_keys
+ chmod -R go-w conf/ || exit $?
}
typeset -f -t install_to_all