Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

FileUtils.chown_R

(::String? user, ::String? group, ::FileUtils::pathlist list, ?noop: ::boolish, ?verbose: ::boolish, ?force: ::boolish) -> void
chown_R(user, group, list, noop: nil, verbose: nil, force: nil)

Like FileUtils.chown, but changes owner and group recursively.

See also #chown_R .chown .cmp .chmod_R also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0