Staging instance, all changes can be removed at any time

Skip to content

tarball: Fix also directory permissions in normalize_permissions

It exist cases when an uncompressed tarball has directories without any traversal or read permissions so ensure to also fix directory permissions in normalize_permissions function.

I spotted that issue while testing the CPAN loader in docker. It is also happening when attempting to load some PyPI and Maven packages. (see Sentry issues below).

Fixes SWH-LOADER-CORE-1AZ and SWH-LOADER-CORE-ZW


Migrated from D8660 (view on Phabricator)

Merge request reports

Loading