From a9d8cac4b05753e40051c0ffe1a883aef576aecd Mon Sep 17 00:00:00 2001 From: Peter Griess Date: Mon, 19 Jul 2010 10:48:58 -0500 Subject: [PATCH] Document setuid/setgid sync resolution capability. --- doc/api.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api.markdown b/doc/api.markdown index 3eb89aea2c..e400ab6898 100644 --- a/doc/api.markdown +++ b/doc/api.markdown @@ -678,7 +678,7 @@ Gets the group identity of the process. (See getgid(2).) This is the numerical ### process.setgid(id) -Sets the group identity of the process. (See setgid(2).) This is the numerical group id, not the group name. +Sets the group identity of the process. (See setgid(2).) This accepts either a numerical ID or a groupname string. If a groupname is specified, this method blocks while resolving it to a numerical ID. console.log('Current gid: ' + process.getgid()); try { @@ -699,7 +699,7 @@ Gets the user identity of the process. (See getuid(2).) This is the numerical u ### process.setuid(id) -Sets the user identity of the process. (See setuid(2).) This is the numerical userid, not the username. +Sets the user identity of the process. (See setuid(2).) This accepts either a numerical ID or a username string. If a username is specified, this method blocks while resolving it to a numerical ID. console.log('Current uid: ' + process.getuid()); try {