[virt-tools-list] Storage image files and permissions

Richard W.M. Jones rjones at redhat.com
Mon Nov 26 14:20:44 UTC 2018


On Mon, Nov 26, 2018 at 01:11:48PM +0100, Vincenzo Romano wrote:
> Hi (again).
> 
> I'm trying to configure the remote QEMU host so everything is in the
> home directory of the user 'vmanager' I have created.
> In particular, the ISO files are being stored into
> '/home/vmanager/isos' while I'd like to put the disk images under
> '/home/vmanager/storage'.
> All directories in the path have 755 permissions (that's 'drwxr-xr-x').
> The ISO files are world readable. The image file are (at the momend)
> world read-writable.
> Of course this is not acceptable.
> Which uid/gid need to access those image files?

What's missing is what Linux distro (or other OS) you are running on
your host.  You may have to do other things like adding SELinux labels
for example.

Rich.

> Moreover, I created a QCOW3 disk image. I asked for a maximum capacity
> of 6GB and initial allocation of 0GB (zero).
> I got a 6GB image file. Is this a bug or am I missing something?
> 
> Thanks in advance.
> 
> -- 
> Vincenzo Romano - NotOrAnd.IT
> Information Technologies
> --
> NON QVIETIS MARIBVS NAVTA PERITVS
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the virt-tools-list mailing list