fix: mason bundle doesnt keep filesystem permissions of incldued files
renancaraujo opened this issue · comments
Description
On POSIX systems, when one of the files to be included on a brick has an execute
permission, that permission is lost after brick generation.
Steps To Reproduce
- Create a brick containing a file with an execute permission (
chmod +x
) - Install it globally
mason add -g brick_name --path .
- Run the brick
mason make brick_name
- Attest that no generated file has execute permission
Expected Behavior
File permissions are maintained.