Bug 1034247
Summary: | Cloud-Init: meta_data.json and user_data files on config-drive are world-readable | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Pavel Novotny <pnovotny> |
Component: | ovirt-engine | Assignee: | Francesco Romani <fromani> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.3.0 | CC: | acathrow, iheim, lpeer, mavital, michal.skrivanek, Rhev-m-bugs, sherold, s.kieske, yeylon |
Target Milestone: | --- | ||
Target Release: | 3.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | virt | ||
Fixed In Version: | ovirt-3.4.0-alpha1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1078909, 1142926 |
Description
Pavel Novotny
2013-11-25 13:35:21 UTC
this is exposed in the VM as a CDROM so you need permissions for that so not a big deal. Fixing this would require extending the payload feature with user/group and permissions maybe just by default create a non world-readable files... Verified upstream in ovirt-engine-3.4.0-0.7.beta2.el6.noarch. Followed reproducer in comment 0 for verification. Results: The files on the attached config-drive are no longer world-readable: # mount -t iso9660 -o loop /var/run/vdsm/payload/11b2841c-03bd-43d8-8d43-4ece2392fee8.62b0aaef2741993fc8bc89d3c3bc4f58.img /mnt/cloud-init/ # ls -l /mnt/cloud-init/openstack/latest/ -rw-r-----. 1 root root 252 Feb 18 11:59 meta_data.json -rw-r-----. 1 root root 222 Feb 18 11:59 user_data Closing as part of 3.4.0 |