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] [PATCH] xenstore-stat

Ian Campbell writes ("Re: [Xen-devel] [PATCH] xenstore-stat"):
> On Wed, 2011-03-30 at 13:03 +0100, Frank Pan wrote:
> > I'd like to make it more similar to unix permissions. ("-rwx")
> > I think it's more straightforward than "w/r/b/n".
> > Is this a good idea?
> 
> I'm not sure. The current xs way of doing things is odd compared with
> unix permissions but it's what people are used to and what they need to
> type as n argument to xenstore-chmod. The last point is particularly
> compelling IMHO.

I agree.  I think we should use xs_perm_to_string exclusively and not
introduce a new format.

If we do introduce a new format it should be done as a separate task
and should be done in xs_perm_to_string (perhaps optionally) so that
all the tools benefit.

Ian.

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