Browse Source

remove umask, just chmod for the "$LE_WORKING_DIR"

neil 9 years ago
parent
commit
762978f8d8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      acme.sh

+ 2 - 2
acme.sh

@@ -1,7 +1,5 @@
 #!/usr/bin/env sh
 
-umask 077
-
 VER=2.2.2
 
 PROJECT_NAME="acme.sh"
@@ -1891,6 +1889,8 @@ install() {
     return 1
   fi
   
+  chmod 700 "$LE_WORKING_DIR"
+
   cp $PROJECT_ENTRY "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/$PROJECT_ENTRY"
 
   if [ "$?" != "0" ] ; then