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

Matthew Booth mbooth at redhat.com
Fri Dec 11 15:56:14 UTC 2009


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>
-- 
1.6.5.2




More information about the libvir-list mailing list