[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How do you change XenStore permissions?



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.


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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.