HomeSoftware Heritage

tarball: properly normalize perms for all extracted files

Description

tarball: properly normalize perms for all extracted files

The previous implementation would not normalize permissions for
files detected as executable. This would make the loader crash when a
file has bogus permissions such as 0o100100 (executable but not
readable).

This adds a test that all possible file permissions properly normalize
to either 0o100644 or 0o100755.

Details

Provenance
olasdAuthored on Apr 26 2021, 5:57 PM
olasdPushed on Apr 30 2021, 8:13 PM
Differential Revision
D5614: tarball: properly normalize perms for all extracted files
Parents
rDCOREdf31524e3569: tox: Add sphinx environments to check sane doc build
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21197
Build 32904: test-and-buildJenkins console · Jenkins