From 093fe6f781fc640740d52ec7f9d997c02e8a212c Mon Sep 17 00:00:00 2001 From: jianglong Date: Mon, 1 Aug 2016 09:53:29 +0800 Subject: [PATCH] Update stack.sh --- stack.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 4cace9d0c2..270260d177 100755 --- a/stack.sh +++ b/stack.sh @@ -602,7 +602,8 @@ function read_password { if [ ! $pw ]; then # If there is no localrc file, create one if [ ! -e $localrc ]; then - touch $localrc + sudo touch $localrc + chmod 666 $localrc fi # Presumably if we got this far it can only be that our