-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersnode-modulesupholdedReal issues without formal reproductionReal issues without formal reproduction
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
When I run yarn install from scratch, everything installs correctly. When I then upgrade a package (in this case "mocha"), Yarn removes executable permissions, making the binary unrunnable.
To reproduce
https://github.com/JavaScriptBach/yarn-permissions-bug
Environment
System:
OS: macOS 14.7
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 18.14.0 - /private/var/folders/kv/7d2gvknd4mv1vdlrk9srf0r00000gn/T/xfs-0a868b6a/node
Yarn: 4.5.0 - /private/var/folders/kv/7d2gvknd4mv1vdlrk9srf0r00000gn/T/xfs-0a868b6a/yarn
npm: 9.3.1 - ~/.nvm/versions/node/v18.14.0/bin/npm
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersnode-modulesupholdedReal issues without formal reproductionReal issues without formal reproduction