use chmod to allow chmod being in a different path

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-04-08 19:57:28 +02:00
parent 9dcad37acf
commit af75aa9024

View file

@ -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):