Skip to content

Commit 4c30250

Browse files
author
neil
committed
fix #4659
1 parent 51be15f commit 4c30250

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

acme.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2884,6 +2884,7 @@ _initpath() {
28842884
fi
28852885
fi
28862886
_debug DOMAIN_PATH "$DOMAIN_PATH"
2887+
export DOMAIN_PATH
28872888
fi
28882889

28892890
if [ -z "$DOMAIN_BACKUP_PATH" ]; then
@@ -4952,18 +4953,6 @@ $_authorizations_map"
49524953
if ! chmod a+r "$wellknown_path/$token"; then
49534954
_debug "chmod failed, but we just continue."
49544955
fi
4955-
if [ ! "$usingApache" ]; then
4956-
if webroot_owner=$(_stat "$_currentRoot"); then
4957-
_debug "Changing owner/group of .well-known to $webroot_owner"
4958-
if ! _exec "chown -R \"$webroot_owner\" \"$_currentRoot/.well-known\""; then
4959-
_debug "$(cat "$_EXEC_TEMP_ERR")"
4960-
_exec_err >/dev/null 2>&1
4961-
fi
4962-
else
4963-
_debug "not changing owner/group of webroot"
4964-
fi
4965-
fi
4966-
49674956
fi
49684957
elif [ "$vtype" = "$VTYPE_ALPN" ]; then
49694958
acmevalidationv1="$(printf "%s" "$keyauthorization" | _digest "sha256" "hex")"

0 commit comments

Comments
 (0)