Skip to contentSkip to conversation

How do you change XenStore permissions?

DISCUSSION Julian Munster 2 participants 2 messages Sep 17, 2008

lore
Share & tools
lore
#1 lore raw
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