Skip to content

Commit 743cdff

Browse files
RafaelGSStniessen
andauthored
Update doc/api/permissions.md
Co-authored-by: Tobias Nießen <tniessen@tnie.de>
1 parent 61dcd86 commit 743cdff

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/api/permissions.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -529,10 +529,8 @@ process.permission.has('fs.read', '/home/rafaelgss/protected-folder'); // false
529529

530530
#### File System Permissions
531531

532-
The Permission Model by default restricts access to `node:fs` module.
533-
It doesn't guarantee users won't be able to write to the disk.
534-
For instance, `node:sqlite` allows users to use
535-
a file-based database.
532+
The Permission Model, by default, restricts access to the file system through the `node:fs` module.
533+
It does not guarantee that users will not be able to access the file system through other means, such as through the `node:sqlite` module.
536534

537535
To allow access to the file system, use the [`--allow-fs-read`][] and
538536
[`--allow-fs-write`][] flags:

0 commit comments

Comments
 (0)