Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance 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.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0