> Oh, I get it (from a currently-running instance):
>
> ubuntu@soncoya:/var/lib/eucalyptus/instances/admin$ ls -l ./i-401D07A6
> total 519652
> -rw-rw---- 1 root root 20702 2010-08-19 17:32 console.log
> -rw-r--r-- 1 root root 2179989504 2010-08-19 17:32 disk
> -rw------- 1 eucalyptus eucalyptus 714696 2010-08-19 17:31 instance-checkpoint
> -rw-r--r-- 1 root root 4475680 2010-08-18 15:32 kernel
> -rw-r--r-- 1 eucalyptus eucalyptus 894 2010-08-19 17:31 libvirt.xml
> ubuntu@soncoya:/var/lib/eucalyptus/instances/admin$
Note, also, that disk and kernel are root owned there. On my system, in
the one instance I have running, 'kernel' was eucalyptus owned.
I'll watch the fix here, but the code I added for bug 611144 writes a file
in that directory named 'loader' from inside 'gen_kvm_libvirt_xml', which
is run as root, so that file also has root:root ownership.
On Thu, 19 Aug 2010, C de-Avillez wrote:
> Oh, I get it (from a currently-running instance): soncoya: /var/lib/ eucalyptus/ instances/ admin$ ls -l ./i-401D07A6 soncoya: /var/lib/ eucalyptus/ instances/ admin$
>
> ubuntu@
> total 519652
> -rw-rw---- 1 root root 20702 2010-08-19 17:32 console.log
> -rw-r--r-- 1 root root 2179989504 2010-08-19 17:32 disk
> -rw------- 1 eucalyptus eucalyptus 714696 2010-08-19 17:31 instance-checkpoint
> -rw-r--r-- 1 root root 4475680 2010-08-18 15:32 kernel
> -rw-r--r-- 1 eucalyptus eucalyptus 894 2010-08-19 17:31 libvirt.xml
> ubuntu@
Note, also, that disk and kernel are root owned there. On my system, in
the one instance I have running, 'kernel' was eucalyptus owned.
I'll watch the fix here, but the code I added for bug 611144 writes a file libvirt_ xml', which
in that directory named 'loader' from inside 'gen_kvm_
is run as root, so that file also has root:root ownership.