WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API

To: "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
Subject: Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 08 Oct 2008 11:27:26 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 08 Oct 2008 03:27:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <532F993CC2E6654CADFE057ADC6C2FA31BA66AAA5C@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckpHnsjiWwSnUPtT0K3bfDeTylvjgAAc4HAAANuXuAAAJyrUQ==
Thread-topic: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API
User-agent: Microsoft-Entourage/11.4.0.080122
xenstore-chmod /local/domain/0/custmdir b

The syntax is pretty stupid.

 -- Keir

On 8/10/08 11:13, "Kumar, Venkat" <Venkat.Kumar@xxxxxxx> wrote:

Keir, I am unable to give both read and write permissions at a time for a node in Xenstore.
 
For example Xenstore-chmod /local/domain/0/customdir
rw just gives read permissions,/local/domain/0/customdir wr gives write permissions,r+w, w+r nothing works.It is considering the first mode only.
 
Is there some specific syntax which I am missing??
 
Thx,
Venkat
 


From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
Sent: Wednesday, October 08, 2008 2:02 PM
To: Kumar, Venkat; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API

There isn’t one, so you’d have to add it. I’m not sure what legitimate uses the kernel might have for this functionality, however.

 -- Keir

On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@xxxxxxx> wrote:
Which is the Kernel API (Xenbus API) that is available to do a similar action as “xenstore-chmod”??
 

Thx,
Venkat


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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>