Skip to content

Commit b49019e

Browse files
authored
doc: explicitly mention node:fs module restriction
PR-URL: #54269 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 50a49a5 commit b49019e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/api/permissions.md

+4
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ process.permission.has('fs.read', '/home/rafaelgss/protected-folder'); // false
8080

8181
#### File System Permissions
8282

83+
The Permission Model, by default, restricts access to the file system through the `node:fs` module.
84+
It does not guarantee that users will not be able to access the file system through other means,
85+
such as through the `node:sqlite` module.
86+
8387
To allow access to the file system, use the [`--allow-fs-read`][] and
8488
[`--allow-fs-write`][] flags:
8589

0 commit comments

Comments
 (0)