]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
remove umask, just chmod for the "$LE_WORKING_DIR"
authorneil <git@byneil.com>
Tue, 26 Apr 2016 00:11:40 +0000 (08:11 +0800)
committerneil <git@byneil.com>
Tue, 26 Apr 2016 00:11:40 +0000 (08:11 +0800)
acme.sh

diff --git a/acme.sh b/acme.sh
index 60575b5c5591059a564822f0934f57533c93dbe6..0a00662cd696697d22fffc45d7270c1d618242b8 100755 (executable)
--- a/acme.sh
+++ b/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