Deterministic staging
Description
This MR fixes a bunch of issues related to determinism of file attributes from source plugins.
- Running
bstwith a differentumaskshould not change the permission of the extracted files. - Whether
bstis run asrootor as an unprivileged user, should not change file attributes of files extracted bytar. -
localplugin used with files extracted should always have the same attributes, including permissions. This no matter how the sources of the project were extracted (git, tar ball, etc.)
Changes
-
localplugin now uses only 0755 or 0644 rights for files. -
bzr,git, andpatchare run with 0022 umask. - We fix permissions on files extracted by
zip. tarignores users.
Issues
This merge request, when approved, will close issue/bug: #527 (closed) #540 (closed) #541 (closed) #542 (closed) #543 (closed) #545 (closed)
Edited by Valentin David