1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-23 14:41:43 +00:00

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.
This commit is contained in:
Thomas Waldmann 2015-09-15 00:41:32 +02:00
parent bc5949a7f4
commit cf9ba87734

View file

@ -162,7 +162,7 @@ def create_test_files(self):
# 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'))