-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Strange default umask value #9916
Comments
Sure we can change that to 022. Why do you care? I guess for nodefs where maybe permissions are real? |
Exactly, with nodefs files are created with no permission bits - and cannot be chmoded without changing umask first |
Feel free to upload a patch + test. Otherwise, I've marked this as "good first bug" and "help wanted" since it seems pretty straight forward. |
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant. |
emscripten/src/library_syscall.js
Line 22 in dc5407e
The default umask (0777) is unusual and causes files to be created as unreadable by anyone. A more typical umask would by 022
The text was updated successfully, but these errors were encountered: