Searched refs:effectiveOwner (Results 1 – 1 of 1) sorted by relevance
67 let effectiveOwner variable69 if (!effectiveOwner) {70 effectiveOwner = { uid: 0, gid: 0 } variable74 return effectiveOwner77 effectiveOwner.uid = +process.getuid()78 effectiveOwner.gid = +process.getgid()80 if (effectiveOwner.uid === 0) {81 if (process.env.SUDO_UID) effectiveOwner.uid = +process.env.SUDO_UID82 if (process.env.SUDO_GID) effectiveOwner.gid = +process.env.SUDO_GID86 return effectiveOwner