summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/2747
blob: 344924bbe8ede00cedd8d523aae8ae21075bce55 (plain) (blame)
1
2
3
4
5
6
7
8
9
External snapshots are created world-readable when connecting via qemu+ssh://root
Description of problem:
External snapshots are created with world-readable permissions when connecting via `qemu+ssh://root`.
Steps to reproduce:
1. Create a VM over `qemu+ssh://root@$SERVER/system`
2. Create an external snapshot via virt-manager or with `virsh snapshot-create-as  --domain testvm --name test --disk-only --diskspec vda,file=/var/lib/libvirt/images/test.qcow2  --atomic`
3. `ls -l /var/lib/libvirt/images/test.qcow2`
Additional information:
Issue doesn't seem to go away by adding `umask 077` in `$HOME/.profile`