Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun install ensure all files has at least read permission #14467

Open
AielloChan opened this issue Oct 10, 2024 · 0 comments · May be fixed by #14468
Open

Bun install ensure all files has at least read permission #14467

AielloChan opened this issue Oct 10, 2024 · 0 comments · May be fixed by #14468
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client

Comments

@AielloChan
Copy link
Contributor

What version of Bun is running?

1.1.29+6d43b3662

What platform is your computer?

Darwin 24.1.0 arm64 arm

What steps can reproduce the bug?

Given this protobufjs npm package at version 6.11.4, download and extract it.

https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz

then just

> ls -la package/minimal.js
-rw-r-----  1 aiello  staff    96B Oct 26  1985 package/minimal.js

You'll find that, minimal.js has no permission for Other. This may cause some problems. When use yarn/npm to install this package, it will ensure at least read permission for all type of users.

What is the expected behavior?

bun installed files should has at least read permission for every user.

What do you see instead?

some file has no permission for Other type user.

Additional information

No response

@AielloChan AielloChan added bug Something isn't working needs triage labels Oct 10, 2024
@AielloChan AielloChan linked a pull request Oct 10, 2024 that will close this issue
6 tasks
@nektro nektro added bun install Something that relates to the npm-compatible client and removed needs triage labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants