prebuild-install will mutate the contents of an hard-linked .node
file #192
Open
Description
If there is already a .node
file, and it is an hard-link, prebuild-install
will mutate the contents of the hard-linked file instead of replacing it with a new file.
This can happen for example from pnpm's side effect cache, when pnpm uses hard links, which happens for example on Linux with an ext4 file system.
This caused node files to get changed in other unrelated working trees on our computers when running prebuild-install
to switch the .node
files to different versions for other operating systems or architectures.
Metadata
Assignees
Labels
No labels