Displaying 5 results from an estimated 5 matches for "skipmode".
Did you mean:
skipmodule
2014 Jan 10
3
Re: RFC: copy-attributes command
...of the other flags.
>
> To be clearer, the four OBool parameters would be:
>
> [OBool "all"; OBool "mode"; OBool "ownership"; OBool "xattributes"]
So looking at your v2 patch a bit more, I think this is what you
already did, except that "skipmode" is backwards from the other flags.
I think we're in agreement, except I think "skipmode" should just
become "mode" and not have negated meaning compared to the other
flags.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libgue...
2014 Jan 10
0
Re: RFC: copy-attributes command
...> To be clearer, the four OBool parameters would be:
> > [OBool "all"; OBool "mode"; OBool "ownership"; OBool
> > "xattributes"]
>
> So looking at your v2 patch a bit more, I think this is what you
> already did, except that "skipmode" is backwards from the other flags.
> I think we're in agreement, except I think "skipmode" should just
> become "mode" and not have negated meaning compared to the other
> flags.
OK, I will turn it back as it was before (into "mode"), but making use...
2014 Jan 10
4
Re: RFC: copy-attributes command
...default B<no> attribute is copied; you have to specify which
> > attributes
> > +to copy enabling the optional arguments:
> Thoughts:
>
> - Should it default to copying attributes?
You've convinced me, so I've turned the "permissions" flag into
"skipmode", so specifying nothing now copies the file mode (so
permissions + bits).
> The common use case (for virt-edit) is: "I want this other file which
> is identical to this original file, except in name and content". That
> is (I think) an argument for copying everything by d...
2014 Jan 10
0
Re: RFC: copy-attributes command
...e very odd corner cases), just leave your
implementation for now, but don't specify it in the documentation so
we could change it later.
> > - Should it default to copying attributes?
>
> You've convinced me, so I've turned the "permissions" flag into
> "skipmode", so specifying nothing now copies the file mode (so
> permissions + bits).
>
> > The common use case (for virt-edit) is: "I want this other file which
> > is identical to this original file, except in name and content". That
> > is (I think) an argument fo...
2014 Jan 07
8
RFC: copy-attributes command
Hi,
attached there is a prototype of patch for adding a new copy-attributes
command. Such command would allow copy the attributes of a "file" to
another, so for example in guestfish:
copy-attributes foo bar permissions:true xattributes:false
would only copy the permissions of foo to bar, not copying its extended
attributes too.
Just few notes:
- my first daemon command, so