From cf9ba87734f51654df7cf26610dd368b509c4493 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 15 Sep 2015 00:41:32 +0200 Subject: [PATCH] test setup: do not set the sticky bit on a regular file sticky bit only has a function on directories. openbsd does not let one set sticky on files. other systems seem to just ignore it. --- borg/testsuite/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/testsuite/archiver.py b/borg/testsuite/archiver.py index d001b5ca3..02a6bc756 100644 --- a/borg/testsuite/archiver.py +++ b/borg/testsuite/archiver.py @@ -162,7 +162,7 @@ class ArchiverTestCase(ArchiverTestCaseBase): # Directory self.create_regular_file('dir2/file2', size=1024 * 80) # File mode - os.chmod('input/file1', 0o7755) + os.chmod('input/file1', 0o6755) # Hard link os.link(os.path.join(self.input_path, 'file1'), os.path.join(self.input_path, 'hardlink'))