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

Change subject: network: ssh: make sure directory owner is the user
......................................................................

network: ssh: make sure directory owner is the user

Change-Id: I598856e7a320131dde9f4f6d68b8fe171014a3fa
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/plugins/otopi/network/ssh.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/57/16957/1

diff --git a/src/plugins/otopi/network/ssh.py b/src/plugins/otopi/network/ssh.py
index d80d081..90db75f 100644
--- a/src/plugins/otopi/network/ssh.py
+++ b/src/plugins/otopi/network/ssh.py
@@ -172,6 +172,7 @@
                 name=authkeys,
                 content=content,
                 owner=sshUser if sshUser else getpass.getuser(),
+                downer=sshUser if sshUser else getpass.getuser(),
                 mode=0o600,
                 dmode=0o700,
                 enforcePermissions=True,


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I598856e7a320131dde9f4f6d68b8fe171014a3fa
Gerrit-PatchSet: 1
Gerrit-Project: otopi
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