borg/src/borg
Thomas Waldmann 96cac5f381
Linux: acl_get: use "nofollow" variant of acl_extended_file call
This is NOT a bug fix, because the previous code contained a
check for symlinks before that line - because symlinks can not
have ACLs under Linux.

Now, this "is it a symlink" check is removed to simplify the
code and the "nofollow" variant of acl_extended_file* is used
to look at the symlink fs object (in the symlink case).

It then should tell us that this does NOT have an extended ACL
(because symlinks can't have ACLs) and so we return there.

Overall the code gets simpler and looks less suspect.
2024-04-02 01:38:21 +02:00
..
archiver benchmark: inherit options --rsh --remote-path, fixes #8099 2024-02-22 21:48:13 +01:00
cache_sync
crypto better error msg for corrupted key data, fixes #8016 2024-02-19 19:23:48 +01:00
helpers allow msgpack 1.0.8, fixes #8133 2024-03-02 14:27:07 +01:00
platform Linux: acl_get: use "nofollow" variant of acl_extended_file call 2024-04-02 01:38:21 +02:00
testsuite platform tests: misc. minor cleanups 2024-04-02 01:38:17 +02:00
__init__.py
__main__.py
_chunker.c include unistd.h in _chunker.c 2023-11-05 11:48:16 +01:00
_endian.h
_hashindex.c
_item.c
archive.py create/extract: ignore OSError if ACLs are not supported (ENOTSUP) 2024-04-02 01:38:18 +02:00
cache.py refactor: use less binascii 2024-02-19 02:16:19 +01:00
checksums.pyi
checksums.pyx
chunker.pyi
chunker.pyx
compress.pyi
compress.pyx zlib legacy decompress: call check_fix_size method 2023-10-24 19:45:21 +02:00
constants.py update "modern" error RCs (docs and code) 2024-02-13 22:58:02 +01:00
fuse.py ro_type: typed repo objects, see #7670 2023-09-24 20:10:50 +02:00
fuse_impl.py simplify flake8 configuration 2023-07-25 23:56:31 +02:00
hashindex.pyi
hashindex.pyx
item.pyi replace flake8 by ruff 2023-09-04 22:15:42 +02:00
item.pyx always implicitly require manifest TAMs 2023-09-03 22:01:46 +02:00
locking.py update "modern" error RCs (docs and code) 2024-02-13 22:58:02 +01:00
logger.py borg.logger: use same method params as python logging 2024-01-15 21:40:27 +01:00
manifest.py update "modern" error RCs (docs and code) 2024-02-13 22:58:02 +01:00
paperkey.html
patterns.py fix invalid pattern argument error msg 2023-11-05 17:54:07 +01:00
platformflags.py
remote.py add ConnectionBrokenWithHint for BrokenPipeErrors and similar, see #7016 2024-02-20 00:17:55 +01:00
repoobj.py raise IntegrityError if ro_type is not as expected 2023-09-24 20:10:56 +02:00
repository.py check_can_create_repository: deal with PermissionErrors, see #7016 2024-02-20 00:07:43 +01:00
selftest.py remove unused hkdf_hmac_sha512 and related tests 2023-12-02 20:35:14 +01:00
upgrade.py
version.py
xattr.py docs: OS X -> macOS 2023-07-04 23:59:44 +02:00