On Tue, Sep 06, 2005 at 01:59:27PM +0200, Ferenc Wagner wrote: > $ strace -eopen qemu -hda hd.img -snapshot > [...] > open("hd.img", O_RDONLY|O_LARGEFILE) = 4 > open("hd.img", O_RDWR|O_LARGEFILE) = 4 > open("/tmp/vl.jxyCmR", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 > EACCES (Permission denied) > open("/tmp/vl.jxyCmR", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = -1 > EACCES (Permission denied) > qemu: could not open hard disk image 'hd.img' > > It had better say /tmp is not writable.
this is still an issue with 0.11.1-1. looking into the code, it seems that in block.c the get_tmp_filename function calls mkstemp, which should hopefully return some sort of error if it can't create the file. in any case, the get_tmp_filename function should probably check if the returned file is writeable and issue a different error in that case... live well, vagrant -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org