[virt-tools-list] what should be correct permissions of xml files

2011-02-10 Thread Tapas Mishra
I restored KVM guest on a Ubuntu server from a backup.
I see some permissions problem.
-rwxr-xr-x 1 root root 1289 2011-02-10 12:51 machine1.xml
is the above permission on a conf file
in /etc/libvirt/qemu/machine1.xml
correct?
If not let me know what are the correct permissions.
--

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


Re: [virt-tools-list] what should be correct permissions of xml files

2011-02-10 Thread Daniel P. Berrange
On Thu, Feb 10, 2011 at 04:14:04PM +0530, Tapas Mishra wrote:
 I restored KVM guest on a Ubuntu server from a backup.
 I see some permissions problem.
 -rwxr-xr-x 1 root root 1289 2011-02-10 12:51 machine1.xml
 is the above permission on a conf file
 in /etc/libvirt/qemu/machine1.xml
 correct?
 If not let me know what are the correct permissions.

 -rwx--

You don't want any users to read these files except root, since they can
contain passwords for VNC/SPICE

Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


Re: [virt-tools-list] what should be correct permissions of xml files

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 4:22 PM, Daniel P. Berrange berra...@redhat.com wrote:
 On Thu, Feb 10, 2011 at 04:14:04PM +0530, Tapas Mishra wrote:
 I restored KVM guest on a Ubuntu server from a backup.
 I see some permissions problem.
 -rwxr-xr-x 1 root root 1289 2011-02-10 12:51 machine1.xml
 is the above permission on a conf file
 in /etc/libvirt/qemu/machine1.xml
 correct?
 If not let me know what are the correct permissions.

  -rwx--

 You don't want any users to read these files except root, since they can
 contain passwords for VNC/SPICE

 Daniel
 --
Thanks Daniel.

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list