Commit edcbe247 authored by Lucas Rolff's avatar Lucas Rolff
Browse files

Also changing group of .well-known directory

parent 4b70d690
......@@ -538,9 +538,9 @@ issue() {
mkdir -p "$wellknown_path"
echo -n "$keyauthorization" > "$wellknown_path/$token"
webroot_owner=$(stat -c '%U' $Le_Webroot)
_debug "Changing owner of .well-known to $webroot_owner"
chown -R $webroot_owner. "$Le_Webroot/.well-known"
webroot_owner=$(stat -c '%U:%G' $Le_Webroot)
_debug "Changing owner/group of .well-known to $webroot_owner"
chown -R $webroot_owner "$Le_Webroot/.well-known"
fi
wellknown_url="http://$d/.well-known/acme-challenge/$token"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment