1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00

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.
This commit is contained in:
Thomas Waldmann 2016-10-31 05:02:19 +01:00
parent 84637322f2
commit f2ed60b80b

View file

@ -211,6 +211,7 @@ def setUp(self):
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)