From 762978f8d8a7fcc7308e4b8c6e5b1cf3747014e6 Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 26 Apr 2016 08:11:40 +0800 Subject: [PATCH] remove umask, just chmod for the "$LE_WORKING_DIR" --- acme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acme.sh b/acme.sh index 60575b5c..0a00662c 100755 --- 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