From e2fc270480916901b2bfd4f4bab376a6008f9f57 Mon Sep 17 00:00:00 2001 From: Boris Schrijver Date: Mon, 23 Nov 2015 00:07:29 +0100 Subject: [PATCH] CLOUDSTACK-9078: Gave scripts executable permissions. --- python/lib/cloudutils/serviceConfigServer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/lib/cloudutils/serviceConfigServer.py b/python/lib/cloudutils/serviceConfigServer.py index ea7e125e9ab..4d45b13176d 100644 --- a/python/lib/cloudutils/serviceConfigServer.py +++ b/python/lib/cloudutils/serviceConfigServer.py @@ -121,7 +121,8 @@ class cloudManagementConfig(serviceCfgBase): #distro like sl 6.1 needs this folder, or tomcat6 failed to start checkHostName() bash("mkdir /var/log/cloudstack-management/") - bash("chown cloud:cloud -R /var/lib/cloudstack") + bash("chown cloud:cloud -R /var/lib/cloudstack/") + bash("chmod +x -R /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/") #set max process per account is unlimited if os.path.exists("/etc/security/limits.conf"): cfo = configFileOps("/etc/security/limits.conf")