[Pkg-libvirt-maintainers] Bug#731013: virt-manager: changes owner and permissions of user-supplied ISO images

Flavio Stanchina flavio at stanchina.net
Sat Nov 30 23:44:42 UTC 2013


Package: virt-manager
Version: 0.9.5-1
Severity: normal

I added a CD-ROM to a virtual machine and used "Browse Local" to connect
an ISO image in my home directory. After I closed the virtual machine, I
tried to delete the ISO image as I didn't need it any longer, but its owner
had been changed to libvirt-qemu and the permissions to 0400.

The permissions were previously set to 0644, so the file would have been
readable by user libvirt-qemu (or any other).

I don't think I've ever seen another program that changes a file's owner
without asking. I don't recall, in fact, ever seeing a program that even
bothers to ask: if permissions aren't right, you get an access error and
it's your problem to set permissions adequately.

virt-manager should at least restore the original permissions back when
it's done with the image.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (99, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virt-manager depends on:
ii  gconf2             3.2.6-1
ii  librsvg2-common    2.40.0-1
ii  python             2.7.5-5
ii  python-dbus        1.2.0-2+b1
ii  python-glade2      2.24.0-3+b1
ii  python-gnome2      2.28.1+dfsg-1
ii  python-gtk-vnc     0.5.2-2
ii  python-gtk2        2.24.0-3+b1
ii  python-ipy         1:0.75-1
ii  python-libvirt     0.9.12-11+deb7u4
ii  python-support     1.0.15
ii  python-urlgrabber  3.9.1-4
ii  python-vte         1:0.28.2-5
ii  virtinst           0.600.4-2

Versions of packages virt-manager recommends:
ii  gnome-icon-theme         3.10.0-1
ii  libvirt-bin              0.9.12-11+deb7u4
ii  python-spice-client-gtk  0.21-0nocelt3

Versions of packages virt-manager suggests:
pn  gnome-keyring                    <none>
pn  python-gnomekeyring              <none>
pn  python-guestfs                   <none>
ii  ssh-askpass-gnome [ssh-askpass]  1:6.4p1-1
pn  virt-viewer                      <none>

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list