Title: `mkdir` with the `recursive` flag hides `EROFS` readonly file system errors with `ENOENT` · Issue #47098 · nodejs/node · GitHub
Open Graph Title: `mkdir` with the `recursive` flag hides `EROFS` readonly file system errors with `ENOENT` · Issue #47098 · nodejs/node
X Title: `mkdir` with the `recursive` flag hides `EROFS` readonly file system errors with `ENOENT` · Issue #47098 · nodejs/node
Description: Version v19.7.0 Platform Linux 0a51b4117477 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 Linux Subsystem fs What steps will reproduce the bug? Clone https://github.com/Silic0nS0ldier/nodejs-mkdir-recursive-hides-e...
Open Graph Description: Version v19.7.0 Platform Linux 0a51b4117477 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 Linux Subsystem fs What steps will reproduce the bug? Clone https://github.com/Silic...
X Description: Version v19.7.0 Platform Linux 0a51b4117477 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 Linux Subsystem fs What steps will reproduce the bug? Clone https://github.com/Silic...
Opengraph URL: https://github.com/nodejs/node/issues/47098
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`mkdir` with the `recursive` flag hides `EROFS` readonly file system errors with `ENOENT`","articleBody":"### Version\r\n\r\n`v19.7.0`\r\n\r\n### Platform\r\n\r\n`Linux 0a51b4117477 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 Linux`\r\n\r\n### Subsystem\r\n\r\n`fs`\r\n\r\n### What steps will reproduce the bug?\r\n\r\n1. Clone https://github.com/Silic0nS0ldier/nodejs-mkdir-recursive-hides-erofs\r\n2. With repo root as `cwd`, run commands listed in `README`. Reported issue is first test case.\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nProvided the target of `mkdir` is a read only filesystem and the directory does not already exist, this issue reproduces 100% of the time.\r\n\r\n### What is the expected behavior? Why is that the expected behavior?\r\n\r\nAn error with the error code `EROFS`.\r\n\r\n### What do you see instead?\r\n\r\nAn error with the error code `ENOENT`.\r\n\r\n### Additional information\r\n\r\nOn AMD64 systems the digest will need to be re-acquired, as this reproduction was created on an ARM64 host.","author":{"url":"https://github.com/Silic0nS0ldier","@type":"Person","name":"Silic0nS0ldier"},"datePublished":"2023-03-15T02:54:03Z","url":"https://github.com/nodejs/node/issues/47098"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e0433092-3eba-d4c9-41cf-e076866f287d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6AC:2F339D:1069C10:15E82AE:6AED52EF |
| html-safe-nonce | aada40cc81cc918cdc41a14d5fa412970b6549fccc4969355a9dd7021d45f536 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkFDOjJGMzM5RDoxMDY5QzEwOjE1RTgyQUU6NkFFRDUyRUYiLCJ2aXNpdG9yX2lkIjoiODQwMjI3NDczMzc1ODY5ODIyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2f793638fa8dc84adab24246da3dd4efd92b923c20f426ddf5422dfdedf0a9dc |
| hovercard-subject-tag | issue:1624636485 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/47098/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1961a8e052448548d014917f4a710ca6ac4e696e9c8bc39266ce47ba69dd7fae/nodejs/node/issues/47098 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1961a8e052448548d014917f4a710ca6ac4e696e9c8bc39266ce47ba69dd7fae/nodejs/node/issues/47098 |
| og:image:alt | Version v19.7.0 Platform Linux 0a51b4117477 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 Linux Subsystem fs What steps will reproduce the bug? Clone https://github.com/Silic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Silic0nS0ldier |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width