Skip to content
class method

File.setgid?

(::string | ::_ToPath | ::IO file_name) -> bool
File.setgid?(file_name) → true or false

Returns true if the named file has the setgid bit set.

file_name can be an IO object.

See also .rename .setuid? .realpath .size also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0