From 12784c8bd806ebef0f84099a055b234bfc614c98 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 13 Oct 2011 16:26:07 +0200 Subject: [PATCH] +FIXME Signed-off-by: Steven Armstrong --- lib/cdist/exec/local.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cdist/exec/local.py b/lib/cdist/exec/local.py index 1f253f09..fd9f8229 100644 --- a/lib/cdist/exec/local.py +++ b/lib/cdist/exec/local.py @@ -83,6 +83,7 @@ class Local(object): def mkdir(self, path): """Create directory on the local side.""" self.log.debug("Local mkdir: %s", path) + # FIXME: dont set mode here, fix unittest mkdtemp instead os.makedirs(path, mode=0o700, exist_ok=True) def run(self, command, env=None):