setgid?()
public
Returns true if stat has the set-group-id permission bit set,
false if it doesn’t or if the operating system doesn’t support this
feature.
File.stat("/usr/sbin/lpc").setgid?
Show source
static VALUE
rb_stat_sgid(VALUE obj)
{
if (get_stat(obj)->st_mode & S_ISGID) return Qtrue;
return Qfalse;
}