mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
remove umask, just chmod for the "$LE_WORKING_DIR"
This commit is contained in:
parent
bfdf1f482e
commit
762978f8d8
4
acme.sh
4
acme.sh
@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
umask 077
|
|
||||||
|
|
||||||
VER=2.2.2
|
VER=2.2.2
|
||||||
|
|
||||||
PROJECT_NAME="acme.sh"
|
PROJECT_NAME="acme.sh"
|
||||||
@ -1891,6 +1889,8 @@ install() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chmod 700 "$LE_WORKING_DIR"
|
||||||
|
|
||||||
cp $PROJECT_ENTRY "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/$PROJECT_ENTRY"
|
cp $PROJECT_ENTRY "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/$PROJECT_ENTRY"
|
||||||
|
|
||||||
if [ "$?" != "0" ] ; then
|
if [ "$?" != "0" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user