doc: improve fs permissions description

Fix a small grammatical mistake and improve the surrounding wording.

PR-URL: https://github.com/nodejs/node/pull/47596
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
Tobias Nießen authored and Michaël Zasso committed 2023-05-02 09:33:58 +02:00
1 parent e3f4ff439e
commit d11ff4bc53
2 files changed
+10 -6

No files matched your search

+6 -4
View File
@@ -154,8 +154,9 @@ the [Permission Model][].
The valid arguments for the `--allow-fs-read` flag are:
* `*` - To allow the `FileSystemRead` operations.
* Paths delimited by comma (,) to manage `FileSystemRead` (reading) operations.
* `*` - To allow all `FileSystemRead` operations.
* Paths delimited by comma (`,`) to allow only matching `FileSystemRead`
operations.
Examples can be found in the [File System Permissions][] documentation.
@@ -200,8 +201,9 @@ the [Permission Model][].
The valid arguments for the `--allow-fs-write` flag are:
* `*` - To allow the `FileSystemWrite` operations.
* Paths delimited by comma (,) to manage `FileSystemWrite` (writing) operations.
* `*` - To allow all `FileSystemWrite` operations.
* Paths delimited by comma (`,`) to allow only matching `FileSystemWrite`
operations.
Examples can be found in the [File System Permissions][] documentation.
+4 -2
View File
@@ -520,8 +520,10 @@ Hello world!
The valid arguments for both flags are:
* `*` - To allow the all operations to given scope (read/write).
* Paths delimited by comma (,) to manage reading/writing operations.
* `*` - To allow all `FileSystemRead` or `FileSystemWrite` operations,
respectively.
* Paths delimited by comma (`,`) to allow only matching `FileSystemRead` or
`FileSystemWrite` operations, respectively.
Example: