Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Pathname#lchown
pathname.lchown(owner_int, group_int) → integer
ext/pathname/pathname.c
View on GitHub ↗
static VALUE
path_lchown(VALUE self, VALUE owner, VALUE group)
{
return rb_funcall(rb_cFile, id_lchown, 3, owner, group, get_strpath(self));
}
Same as Pathname.chown, but does not follow symbolic links.
See File.lchown.