CLOUDSTACK-9078: Gave scripts executable permissions.

This commit is contained in:
Boris Schrijver 2015-11-23 00:07:29 +01:00
parent 1e73f667c9
commit e2fc270480

View File

@ -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")