mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
fixed permissions again
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user