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

Yarn hangs forever when missing write access #2094

Closed
androa opened this issue Nov 30, 2016 · 1 comment
Closed

Yarn hangs forever when missing write access #2094

androa opened this issue Nov 30, 2016 · 1 comment
Labels

Comments

@androa
Copy link

androa commented Nov 30, 2016

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
If yarn need to write in a read-only directory, it hangs forever.

If the current behavior is a bug, please provide the steps to reproduce.

mkdir -m 500 bar && cd bar
yarn init -y

Then yarn says it successfully has written package.json, but just hangs forever.

What is the expected behavior?
For yarn to report the missing write access and exit.

Please mention your node.js, yarn and operating system version.
node v6.9.1; yarn from source; official node docker image.

@androa
Copy link
Author

androa commented Jan 23, 2017

Seems to have been solved by #1592 and this can be closed.

@androa androa closed this as completed Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants