Paul Angus created CLOUDSTACK-9973:
--------------------------------------
Summary: Cannot download volumes using XenServer 7.0
Key: CLOUDSTACK-9973
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9973
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Secondary Storage
Affects Versions: 4.9.0.1
Environment: XenServer 7.0 with ACS 4.9.2
Reporter: Paul Angus
When downloading a VHD (volume) from CloudStack, the URL returned by CloudStack
(in the dialog box) results in:
An 'access is forbidden' message in the browser window.
in the access.log for httpd the following can be seen:
(13)Permission denied: file permissions deny server access:
checking the file permissions,
XenServer (7.0) env - SSVM shows that on secondary storage the volume has perms
rw-------
XS6.5 and VMware6.5 - SSVM shows that on secondary storage the volume has perms
-rw-r--r--
changing the file permissions of the file on secondary storage to -rw-r--r--
enables the file to be downloaded.
CONCLUSION
Either code for XS7.0 or XS7.0 itself writes the vhd to the secondary storage
with the wrong permissions.
code to write file should ensure correct file permissions.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)