Skip to content

Commit 87e3e23

Browse files
committed
Add information about uid and gid for child_process on Windows
1 parent 1c958f2 commit 87e3e23

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: docs/5_security/users.md

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Consequently all methods based on
3232
throw an error.
3333
- [`fs.chown()`](https://nodejs.org/api/fs.html#fs_fs_chown_path_uid_gid_callback)
3434
does not do anything.
35+
- [`child_process`](https://nodejs.org/api/child_process.html#child_processspawncommand-args-options)'s
36+
`uid` and `gid` options throw an error.
3537

3638
## Privileged user
3739

Diff for: docs/summary.md

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@
100100
[`process.umask()`](https://nodejs.org/api/process.html#process_process_umask_mask).
101101
- Avoid
102102
[`os.userInfo().uid|gid`](https://nodejs.org/api/os.html#os_os_userinfo_options),
103+
[`child_process`](https://nodejs.org/api/child_process.html#child_processspawncommand-args-options)'s
104+
`uid` and `gid`,
103105
[`fs.chown()`](https://nodejs.org/api/fs.html#fs_fs_chown_path_uid_gid_callback)
104106
and the [`process`](https://nodejs.org/api/process.html) methods
105107
[`getuid()`](https://nodejs.org/api/process.html#process_process_getuid),

0 commit comments

Comments
 (0)