use chmod to allow chmod being in a different path

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/ssh_callback
Nico Schottelius 12 years ago
parent 9dcad37acf
commit af75aa9024
  1. 2
      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):

Loading…
Cancel
Save