소스 검색

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.
Thomas Waldmann 9 년 전
부모
커밋
cf9ba87734
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      borg/testsuite/archiver.py

+ 1 - 1
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'))