How do you change XenStore permissions?
Hi,
Is there a way to change the permission for a specific path in XenStore? And can you do that from with in a C program?
Thanks
Julian
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 1 line
Is there a way to change the permission for a specific path in XenStore?
Yes, with the SET_PERMS message.
e.g. SET_PERMS (/vm/00000000-0000-0000-0000-000000000000/uuid r0 )
This will give read access to /vm/00000000-0000-0000-0000-000000000000/uuid to all domains.
Quoted 1 line
And can you do that from with in a C program?
Yes. Check out this page under the "API Usage Examples":
http://wiki.xensource.com/xenwiki/XenStoreReference
If you have any questions about how the permissions work in XenStore, feel free to ask (it's a bit confusing).
Patrick