Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Pathname#lutime

lutime(p1, p2)

Update the access and modification times of the file.

Same as Pathname#utime, but does not follow symbolic links.

See File.lutime.

See also #lstat #make_link #lchown #make_symlink also in 4.1 · 4.0 · 3.4 · 3.3