remove umask, just chmod for the "$LE_WORKING_DIR"

This commit is contained in:
neil 2016-04-26 08:11:40 +08:00
parent bfdf1f482e
commit 762978f8d8

View File

@ -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