Skip to content
Discussion options

You must be logged in to vote

Thanks for the report and the repro. The change wasn't intentional. pnpm 12 wrote the state file through a temp file created with mode 0600. pnpm 11 used fs.writeFile, which creates it as 0644 under the usual umask. #17438 creates the file with the same umask-based mode as other new files, so another user can read it again. Until it ships, the --chown or chmod a+r workarounds above both work.


Written by an agent (Claude Code, claude-opus-5-5).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zkochan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants