mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-24 14:11:42 +00:00
This commit is contained in:
parent
7479706b29
commit
c87cd0de73
5
acme.sh
5
acme.sh
@ -3477,7 +3477,10 @@ issue() {
|
|||||||
if [ ! "$usingApache" ]; then
|
if [ ! "$usingApache" ]; then
|
||||||
if webroot_owner=$(_stat "$_currentRoot"); then
|
if webroot_owner=$(_stat "$_currentRoot"); then
|
||||||
_debug "Changing owner/group of .well-known to $webroot_owner"
|
_debug "Changing owner/group of .well-known to $webroot_owner"
|
||||||
chown -R "$webroot_owner" "$_currentRoot/.well-known"
|
if ! _exec "chown -R \"$webroot_owner\" \"$_currentRoot/.well-known\""; then
|
||||||
|
_debug "$(cat "$_EXEC_TEMP_ERR")"
|
||||||
|
_exec_err >/dev/null 2>&1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
_debug "not chaning owner/group of webroot"
|
_debug "not chaning owner/group of webroot"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user