Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98603b6

Browse filesBrowse files
tniessentargos
authored andcommitted
doc: clarify fs permissions only affect fs module
As far as I can tell, the permission model implementation currently does not restrict all file system operations but only those through the fs module. WASI, for example, bypasses the permission model entirely. PR-URL: #47782 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 97a3d39 commit 98603b6
Copy full SHA for 98603b6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/permissions.md‎

Copy file name to clipboardExpand all lines: doc/api/permissions.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ The available permissions are documented by the [`--experimental-permission`][]
465465
flag.
466466

467467
When starting Node.js with `--experimental-permission`,
468-
the ability to access the file system, spawn processes, and
469-
use `node:worker_threads` will be restricted.
468+
the ability to access the file system through the `fs` module, spawn processes,
469+
and use `node:worker_threads` will be restricted.
470470

471471
```console
472472
$ node --experimental-permission index.js

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.