truffle/src/main/ruby/core/rubinius/api/shims/stat.rb
# Process.groups only return supplemental groups, so we need to check if gid/egid match too.
Process.groups only return supplemental groups, so we need to check if gid/egid match too.
Process . groups only return supplemental groups so we need to check if gid / egid match too .
def grpowned?
    gid = gid()
    return true if gid == Process.gid || gid == Process.egid
    Process.groups.include?(gid)
  end
def grpowned? gid = gid ( ) return true if gid == Process . gid || gid == Process . egid Process . groups . include? ( gid ) end
Process.groups only return supplemental groups, so we need to check if gid/egid match too.
Process . groups only return supplemental groups so we need to check if gid / egid match too .