From af75aa9024956f4919284131bb75633a919b157c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 8 Apr 2013 19:57:28 +0200 Subject: [PATCH] use chmod to allow chmod being in a different path Signed-off-by: Nico Schottelius --- cdist/exec/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/exec/remote.py b/cdist/exec/remote.py index 4c029752..bcb5fc4b 100644 --- a/cdist/exec/remote.py +++ b/cdist/exec/remote.py @@ -60,7 +60,7 @@ class Remote(object): def create_files_dirs(self): self.rmdir(self.base_path) self.mkdir(self.base_path) - self.run(["/bin/chmod", "700", self.base_path]) + self.run(["chmod", "0700", self.base_path]) self.mkdir(self.conf_path) def rmdir(self, path):