fixed permissions again

This commit is contained in:
Maxim Devaev
2022-06-24 18:25:08 +03:00
parent 9e6edd0cd7
commit bd5676222b
2 changed files with 9 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ if [ "$1" == "renew" ]; then
rm -rf '$new'
cp -a '$tmp' '$new'
rm '$new/updated'
chmod 750 '$new/config/'{archive,live}
chmod 755 '$new/config/'{archive,live}
chmod 640 '$new'/config/archive/*/privkey*.pem
sed -s -i -e 's| = $tmp/| = $cur/|g' '$new/config/renewal/'*
sync