Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootloader: onefile: set executable bit only on extracted binaries
When extracting files from onefile archive, restore the executable bits only on binary files (those that were collected with TOC type codes `EXECUTABLE`, `BINARY`, or `EXTENSION˙, which all end up having PKG type code `b`), as opposed to all files. Binaries are now extracted with permissions bit set to `0700`, while other files are extracted with permissions bit set to `0600`.
- Loading branch information