From f2ed60b80bf3cf8341e1d6a2e6515152c7862538 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 31 Oct 2016 05:02:19 +0100 Subject: [PATCH] vagrant: fix fuse test for darwin, fixes #1546 otherwise the "input" dir is root.wheel -rwx------ and gives a PermissionError when trying to access it. --- borg/testsuite/archiver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/borg/testsuite/archiver.py b/borg/testsuite/archiver.py index 3cd317b72..4a39d64a3 100644 --- a/borg/testsuite/archiver.py +++ b/borg/testsuite/archiver.py @@ -211,6 +211,7 @@ class ArchiverTestCaseBase(BaseTestCase): os.environ['BORG_KEYS_DIR'] = self.keys_path os.environ['BORG_CACHE_DIR'] = self.cache_path os.mkdir(self.input_path) + os.chmod(self.input_path, 0o777) # avoid troubles with fakeroot / FUSE os.mkdir(self.output_path) os.mkdir(self.keys_path) os.mkdir(self.cache_path)