[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] No permission to write to a mounted filesystem in a K
From: |
Dale R. Worley |
Subject: |
Re: [Qemu-discuss] No permission to write to a mounted filesystem in a KVM guest |
Date: |
Wed, 10 Feb 2016 16:32:05 -0500 |
W Forum W <address@hidden> writes:
>> I am trying to 'squash' a kvm host filesystem to a kvm guest.
>>
>> My libvirt xml looks like
>> <filesystem type='mount' accessmode='squash'>
>> <source dir='/data/servers'/>
>> <target dir='/servers'/>
>> </filesystem>
>>
>> I also tried the accessmode passthrough
>>
>> On the guest I mount the filesystem with
>> mount -t 9p -o trans=virtio,version=9p2000.L /servers /mnt
>>
>> When I try to write a file/directory I always get permission denied
>> but I can read the mounted filesystem normally.
My guess is that the Qemu process doesn't have write access to the
specified files, /data/servers.
(Based on https://libvirt.org/formatdomain.html#elementsFilesystems)
Dale