[Pkg-libvirt-maintainers] Bug#629341: virtinst: fails if umask isn't permissive

intrigeri intrigeri at debian.org
Thu Oct 9 10:30:02 UTC 2014

Control: tag -1 + moreinfo


> I can confirm that this problem still exists and that the proposed
> solution is IMHO adequate.

Can you still reproduce this on current testing/sid?

I suspect this was fixed since then, as I see (1:1.0.1-2):

def _perform_initrd_injections(initrd, injections, scratchdir):
    Insert files into the root directory of the initial ram disk
    tempdir = tempfile.mkdtemp(dir=scratchdir)
    os.chmod(tempdir, 0775)

OTOH, the two other instances of tempfile.mkdtemp() I could see (in
virtconv/formats.py and virtinst/urlfetcher.py) have no such chmod, so
they may very well be affected by similar issues.


More information about the Pkg-libvirt-maintainers mailing list