Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: pythonlib: access to TempDir
......................................................................

packaging: pythonlib: access to TempDir

Restrict access to TempDir.

Change-Id: Ia034f1b5a770a1eedd274d6e0a885d86f1eefde4
Signed-off-by: Yedidyah Bar David <[email protected]>
(cherry picked from commit 1046c4b7841c374827f5a86ed8a527d3d30541a5)
---
M packaging/pythonlib/ovirt_engine/service.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/15/37515/1

diff --git a/packaging/pythonlib/ovirt_engine/service.py 
b/packaging/pythonlib/ovirt_engine/service.py
index 09ced9e..8067316 100644
--- a/packaging/pythonlib/ovirt_engine/service.py
+++ b/packaging/pythonlib/ovirt_engine/service.py
@@ -111,7 +111,7 @@
 
     def create(self):
         self._clear()
-        os.makedirs(self._dir)
+        os.makedirs(self._dir, 0o700)
 
     def destroy(self):
         try:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia034f1b5a770a1eedd274d6e0a885d86f1eefde4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Yedidyah Bar David <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to