[ https://issues.apache.org/jira/browse/CLOUDSTACK-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15030854#comment-15030854 ]
ASF subversion and git services commented on CLOUDSTACK-9076: ------------------------------------------------------------- Commit a44e0b7309e6b65a8d50c016337ced1da5e8990b in cloudstack's branch refs/heads/4.6 from [~remibergsma] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a44e0b7 ] Merge pull request #1105 from borisroman/packagingIssues Debian/Ubuntu packaging issuesSee individual issues. I've installed the management server with and without the fix. See difference bellow. Before: ``` root@acs46:~# ls -la /var/lib/cloudstack total 16 drwxr-xr-x 4 root root 4096 Nov 23 00:20 . drwxr-xr-x 46 root root 4096 Nov 23 00:21 .. drwxrwx--- 2 root cloud 4096 Nov 17 01:15 management drwxr-xr-x 2 root root 4096 Nov 17 01:15 mnt ``` ``` root@acs46:~# ls -la /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/storage/secondary/ total 152 drwxr-xr-x 2 root root 4096 Nov 23 00:20 . drwxr-xr-x 4 root root 4096 Nov 23 00:20 .. -rw-r--r-- 1 root root 10092 Nov 17 01:15 cloud-install-sys-tmplt -rw-r--r-- 1 root root 10591 Nov 17 01:15 cloud-install-sys-tmplt.py -rw-r--r-- 1 root root 11254 Nov 23 00:20 cloud-install-sys-tmplt.pyc -rw-r--r-- 1 root root 2362 Nov 17 01:15 create_privatetemplate_from_snapshot_xen.sh -rw-r--r-- 1 root root 5446 Nov 17 01:15 createtmplt.sh -rw-r--r-- 1 root root 5388 Nov 17 01:15 createvolume.sh -rw-r--r-- 1 root root 2532 Nov 17 01:15 installIso.sh -rw-r--r-- 1 root root 1622 Nov 17 01:15 listvmtmplt.sh -rw-r--r-- 1 root root 1621 Nov 17 01:15 listvolume.sh -rw-r--r-- 1 root root 75712 Nov 17 01:15 swift ``` After: ``` root@acs46:~# ls -la /var/lib/cloudstack total 16 drwxr-xr-x 4 cloud cloud 4096 Nov 23 00:51 . drwxr-xr-x 46 root root 4096 Nov 23 00:53 .. drwxrwx--- 2 cloud cloud 4096 Nov 23 00:33 management drwxr-xr-x 2 cloud cloud 4096 Nov 23 00:33 mnt ``` ``` root@acs46:~# ls -la /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/storage/secondary/ total 152 drwxr-xr-x 2 root root 4096 Nov 23 00:53 . drwxr-xr-x 4 root root 4096 Nov 23 00:53 .. -rwxr-xr-x 1 root root 10092 Nov 23 00:33 cloud-install-sys-tmplt -rwxr-xr-x 1 root root 10591 Nov 23 00:33 cloud-install-sys-tmplt.py -rwxr-xr-x 1 root root 11254 Nov 23 00:53 cloud-install-sys-tmplt.pyc -rwxr-xr-x 1 root root 2362 Nov 23 00:33 create_privatetemplate_from_snapshot_xen.sh -rwxr-xr-x 1 root root 5446 Nov 23 00:33 createtmplt.sh -rwxr-xr-x 1 root root 5388 Nov 23 00:33 createvolume.sh -rwxr-xr-x 1 root root 2532 Nov 23 00:33 installIso.sh -rwxr-xr-x 1 root root 1622 Nov 23 00:33 listvmtmplt.sh -rwxr-xr-x 1 root root 1621 Nov 23 00:33 listvolume.sh -rwxr-xr-x 1 root root 75712 Nov 23 00:33 swift ``` * pr/1105: CLOUDSTACK-9078: Gave scripts executable permissions. CLOUDSTACK-9076: Changed ownership of directory /var/lib/cloudstack to cloud. Signed-off-by: Remi Bergsma <git...@remi.nl> > Directory /var/lib/cloudstack isn't owned by cloud. > --------------------------------------------------- > > Key: CLOUDSTACK-9076 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9076 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Packaging > Affects Versions: 4.6.0, 4.7.0 > Reporter: Boris Schrijver > Assignee: Boris Schrijver > Fix For: 4.7.0, 4.6.1 > > > Because the directory /var/lib/cloudstack isn't owned by cloud, the Java > program can't create folders inside for mounting. -- This message was sent by Atlassian JIRA (v6.3.4#6332)