-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Reorganize and another test for directory-permissions handling #4286
Conversation
Verify that the `mode` supplied to mkdir is subject to the process's umask (here just assumed to be the default 0o022 on Unix, or 0 on Windows).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good- just one comment.
* denoland/master: use Object instead of Map for promise table (denoland#4309) reorg: move js runtime tests to cli/js/tests/ (denoland#4250) upgrade: dprint 0.8.0 (denoland#4308) reorg: move JS ops implementations to cli/js/ops/, part 3 (denoland#4302) test: add actual error class to fail message (denoland#4305) upgrade: typescript 3.8.3 (denoland#4301) reorg: move JS ops implementations to cli/js/ops/, part 2 (denoland#4283) feat(std/node) add appendFile and appendFileSync (denoland#4294) disable test_raw_tty (denoland#4282)
* denoland/master: feat (std/encoding): add binary module (denoland#4274) refactor(cli/js/net): Cleanup iterable APIs (denoland#4236) Add Deno.umask (denoland#4290) refactor: Cleanup options object parameters (denoland#4296) refactor: uncomment tests broken tests, use skip (denoland#4311) Add global "quiet" flag (denoland#4135)
* github/filesystem8d: fix undo typescript changes
This could be ready to go, but as with #4287, I implemented it by throwing on Windows if an explicit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch includes unrelated changes to deno_typescript/typescript.
Pushed commits undoing the deno_typescript stuff (sorry, not used to working with submodules), and made the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks
* denoland/master: Remove doc strings from cli/js TS files (denoland#4329) upgrade: Rust 1.42.0 (denoland#4331) Enable std tests in debug mode (denoland#4332) fix: Node polyfill fsAppend rework (denoland#4322) v0.36.0 Add waker to StreamResource to fix hang on close bugs (denoland#4293) reorg: Deno global initialization (denoland#4317) move compiler API tests to integration tests (denoland#4319) support permission mode in mkdir (denoland#4286) Stricter permissions for Deno.makeTemp* (denoland#4318) reorg: remove dispatch.ts, move signals, factor out web utils (denoland#4316) reorg: cli/js/compiler/, move more API to cli/js/web/ (denoland#4310) Improve dprint config (denoland#4314) doc(cli/flags): Reduce empty lines in help messages (denoland#4312)
This is part of a series of PRs towards #4017.
This PR moves the handling of default permissions for
op_mkdir
to Rust (where this also is/will be handled for related operations), improves somedebug!
calls for directory-permissions related functions, and adds a test verifying that themode
argument supplied to mkdir is subject to the process's umask.