use chmod to allow chmod being in a different path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
9dcad37acf
commit
af75aa9024
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue