Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
c87cd0de
Commit
c87cd0de
authored
Mar 16, 2017
by
neil
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/729
https://github.com/Neilpang/acme.sh/issues/721
parent
7479706b
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
c87cd0de
...
@@ -3477,7 +3477,10 @@ issue() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment