mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
e3f4ff439e
commit
d11ff4bc53
2 files changed
+10
-6
No files matched your search
+6
-4
@@ -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.
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user