[libvirt] [PATCH] Fix owner and group in example volume XML

Daniel P. Berrange berrange at redhat.com
Fri Dec 11 21:56:37 UTC 2009


On Fri, Dec 11, 2009 at 03:56:14PM +0000, Matthew Booth wrote:
> The owner and group in the documentation examples were confusingly given as
> '0744'. They should be numeric uid and gid. Changed the examples to use the
> default uid and gid assigned to qemu in F12.
> 
> * docs/formatstorage.html.in: Change example owner and group in volume XML
> ---
>  docs/formatstorage.html.in |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in
> index ccf5a91..5c41c39 100644
> --- a/docs/formatstorage.html.in
> +++ b/docs/formatstorage.html.in
> @@ -119,8 +119,8 @@
>          <target>
>            <path>/dev/disk/by-path</path>
>            <permissions>
> -            <owner>0744</owner>
> -            <group>0744</group>
> +            <owner>107</owner>
> +            <group>107</group>
>              <mode>0744</mode>
>              <label>virt_image_t</label>
>            </permissions>
> @@ -244,8 +244,8 @@
>            <path>/var/lib/virt/images/sparse.img</path>
>            <format type='qcow2'/>
>            <permissions>
> -            <owner>0744</owner>
> -            <group>0744</group>
> +            <owner>107</owner>
> +            <group>107</group>
>              <mode>0744</mode>
>              <label>virt_image_t</label>
>            </permissions>
> @@ -294,8 +294,8 @@
>            <path>/var/lib/virt/images/master.img</path>
>            <format>raw</format>
>            <permissions>
> -            <owner>0744</owner>
> -            <group>0744</group>
> +            <owner>107</owner>
> +            <group>107</group>
>              <mode>0744</mode>
>              <label>virt_image_t</label>
>            </permissions>
> @@ -368,8 +368,8 @@
>          <target>
>            <path>/var/lib/virt/images/sparse.img</path>
>            <permissions>
> -            <owner>0744</owner>
> -            <group>0744</group>
> +            <owner>107</owner>
> +            <group>107</group>
>              <mode>0744</mode>
>              <label>virt_image_t</label>
>            </permissions>

ACK


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list