End of Life Ruby 3.2 has reached end of life and gets no more fixes. 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.