-
-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Unlike other cpio crates, when I use cpio-archive to archive my Payload, then the resulting file exhibits strange chmod data.
% cpio -itv <Payload
drwxr-xr-x 0 root wheel 0 Jan 23 13:29 .
drwxr-xr-x 0 root wheel 0 Jan 23 13:29 ./Applications
drwxr-xr-x 0 root wheel 0 Jan 23 13:29 ./Applications/bobsautoparts
drwxr-xr-x 0 root wheel 0 Jan 23 13:29 ./Applications/bobsautoparts/bin
?rwxr-xr-x 0 root wheel 31 Jan 23 13:29 ./Applications/bobsautoparts/bin/hello
2 blocksNote the question mark (?) for the hello executable shell script.
I'm using append_file_from_path to generate the CPIO archive.
Perhaps append_file_from_path is accidentally neglecting to mark files as files in the CPIO metadata.
The directories were generating implicitly, so that part of the code appears to be setting the column correctly to d. Relates to #256
I believe this quirk contributes to the macOS installer bom copy operation failing when I try to install my package.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels