Alon Bar-Lev has uploaded a new change for review.

Change subject: vdsm: pki: cleanup: directory ownership
......................................................................

vdsm: pki: cleanup: directory ownership

as transaction is in order the first element that created directory
created it correctly, but still better to be explicit.

Change-Id: I440847854aa47292befcb06dd75b8774f82430be
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/plugins/ovirt-host-deploy/vdsm/pki.py
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/15/19315/1

diff --git a/src/plugins/ovirt-host-deploy/vdsm/pki.py 
b/src/plugins/ovirt-host-deploy/vdsm/pki.py
index 1307099..bd1a412 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/pki.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/pki.py
@@ -321,6 +321,8 @@
                     filetransaction.FileTransaction(
                         name=f,
                         owner='root',
+                        downer='vdsm',
+                        dgroup='kvm',
                         enforcePermissions=True,
                         content=cacert,
                         modifiedList=self.environment[
@@ -347,6 +349,8 @@
                     filetransaction.FileTransaction(
                         name=f,
                         owner='root',
+                        downer='vdsm',
+                        dgroup='kvm',
                         enforcePermissions=True,
                         content=vdsmchain,
                         modifiedList=self.environment[
@@ -377,7 +381,6 @@
                         downer='vdsm',
                         dgroup='kvm',
                         mode=0o440,
-                        dmode=0o750,
                         enforcePermissions=True,
                         content=vdsmkey,
                         modifiedList=self.environment[


-- 
To view, visit http://gerrit.ovirt.org/19315
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I440847854aa47292befcb06dd75b8774f82430be
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to