chown(owner, group) -> Integer
[permalink][rdoc]File.chown(owner, group, self.to_s) と同じです。
require 'pathname'
Pathname('testfile').stat.uid # => 501
Pathname('testfile').chown(502, 12)
Pathname('testfile').stat.uid # => 502
[SEE_ALSO] File.chown, File#chown