Repository: cloudstack
Updated Branches:
refs/heads/4.6 2733c3835 -> a44e0b730
CLOUDSTACK-9076: Changed ownership of directory /var/lib/cloudstack to cloud.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1e73f667
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1e73f667
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1e73f667
Branch: refs/heads/4.6
Commit: 1e73f667c93fe7bc7a765f205e1eb62fb778f99c
Parents: 3f7a86d
Author: Boris Schrijver <boris@pcextreme.nl>
Authored: Mon Nov 23 00:05:53 2015 +0100
Committer: Boris Schrijver <boris@pcextreme.nl>
Committed: Mon Nov 23 00:25:14 2015 +0100
----------------------------------------------------------------------
python/lib/cloudutils/serviceConfigServer.py | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1e73f667/python/lib/cloudutils/serviceConfigServer.py
----------------------------------------------------------------------
diff --git a/python/lib/cloudutils/serviceConfigServer.py b/python/lib/cloudutils/serviceConfigServer.py
index bedd885..ea7e125 100644
--- a/python/lib/cloudutils/serviceConfigServer.py
+++ b/python/lib/cloudutils/serviceConfigServer.py
@@ -121,6 +121,7 @@ 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")
#set max process per account is unlimited
if os.path.exists("/etc/security/limits.conf"):
cfo = configFileOps("/etc/security/limits.conf")
|