Skip to content
class method

File.grpowned?

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

Returns true if the named file exists and the effective group id of the calling process is the owner of the file. Returns false on Windows.

file_name can be an IO object.

See also .ftype .identical? .fnmatch? .join also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0