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
df886ffa
Commit
df886ffa
authored
Apr 05, 2016
by
neil
Browse files
fix apache mode: It's not necessary to chown for apache mode.
parent
c456d954
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
df886ffa
...
@@ -1127,10 +1127,11 @@ issue() {
...
@@ -1127,10 +1127,11 @@ issue() {
mkdir
-p
"
$wellknown_path
"
mkdir
-p
"
$wellknown_path
"
echo
-n
"
$keyauthorization
"
>
"
$wellknown_path
/
$token
"
echo
-n
"
$keyauthorization
"
>
"
$wellknown_path
/
$token
"
if
[[
!
"
$usingApache
"
]]
;
then
webroot_owner
=
$(
_stat
$Le_Webroot
)
webroot_owner
=
$(
_stat
$Le_Webroot
)
_debug
"Changing owner/group of .well-known to
$webroot_owner
"
_debug
"Changing owner/group of .well-known to
$webroot_owner
"
chown
-R
$webroot_owner
"
$Le_Webroot
/.well-known"
chown
-R
$webroot_owner
"
$Le_Webroot
/.well-known"
fi
fi
fi
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