avoid creating symlinks with restricted permissionsmaster
commit4ad6653946eb332889591bdfc828b3ece2e610f6
authorrofl0r <rofl0r@users.noreply.github.com>
Wed, 7 Feb 2024 23:47:07 +0000 (7 23:47 +0000)
committerGitHub <noreply@github.com>
Wed, 7 Feb 2024 23:47:07 +0000 (7 23:47 +0000)
treeb7b5d6e35cfbd63450fc41696e83b19eb2e9930b
parentc47b55fccd1baac1858a07318813e427ff1923d0
avoid creating symlinks with restricted permissions

Linux and most systems do not have symlink permissions, but some
systems, including MacOS, do, and creation of the symlink with umask
set to 0777 makes the symlink inaccessible on such systems.

clear umask when making a symlink so that the behavior is uniform.

backport of http://git.musl-libc.org/cgit/musl/commit/?id=2e1bb87af24e3cb053bb3d5f4bb6e2e72f79c44a
install.sh