Created attachment 11510[details]
a possible fix that works for me
Commit 29866fa186ee3ebda5242221607dba360b2e541e introduced a bug where the file mode field is read from .a files as decimal, even though it is stored as octal.
This leads to seemingly random permissions on files extracted from an archive.