diff options
author | Alexander Bluhm <alexander.bluhm@gmx.net> | 2021-10-05 23:33:16 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-07-12 19:01:09 +0300 |
commit | 906b990b151b93750958371e39ad00e8d1daada9 (patch) | |
tree | 0230a9f91ab557bf9bf65b8d3da6ed91b996c58b /tests/test_files.sh | |
parent | Update THANKS. (diff) | |
download | xz-906b990b151b93750958371e39ad00e8d1daada9.tar.xz |
xz: Avoid fchown(2) failure.
OpenBSD does not allow to change the group of a file if the user
does not belong to this group. In contrast to Linux, OpenBSD also
fails if the new group is the same as the old one. Do not call
fchown(2) in this case, it would change nothing anyway.
This fixes an issue with Perl Alien::Build module.
https://github.com/PerlAlien/Alien-Build/issues/62
Diffstat (limited to 'tests/test_files.sh')
0 files changed, 0 insertions, 0 deletions