D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Process
/
GID
/
Filename :
grant_privilege-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the effective group ID, and if possible, the saved group ID of the process to the given <em>integer</em>. Returns the new effective group ID. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " [Process.gid, Process.egid] #=> [0, 0]\n Process::GID.grant_privilege(31) #=> 33\n [Process.gid, Process.egid] #=> [0, 33]\n" full_name: Process::GID::grant_privilege is_singleton: true name: grant_privilege params: | Process::GID.grant_privilege(integer) => fixnum Process::GID.eid = integer => fixnum visibility: public