New comment by chloris-pale-green on void-packages repository https://github.com/void-linux/void-packages/pull/38900#issuecomment-1227326243 Comment: > have you tried a native musl build locally? see the instructions for making another masterdir in the readme I've installed the x86_64-musl version of Void in a VM and tried building the package. I got the same error as observed here on GitHub. It seems that the file permission issues are Musl-specific. Consequently, I've added a `find` command to the template that removes group and other write permissions from all files and directories that happen to have them, if the package is being build on a Musl machine. I've also changed the way binaries are installed, since I've noticed that one of them did not posses the execute permission. `vbin` should take care of that (but copies the whole binary rather than a symlink - that's the purpose of the other if clause). Strangely enough, on a Musl architecture, even with the use of `vbin`, the binary `/usr/bin/irb` seems to lack execute permission (644) after installing the package, and I get "permission denied" if I try to run it. The package is still functional, though.