in reply to Re^2: How does rename() work on read-only files?
in thread How does rename() work on read-only files?

You are mistaken. rename doesn't change what file (inode) the name points to.

(I've updated my earlier comment to show the inode numbers.)

Replies are listed 'Best First'.
Re^4: How does rename() work on read-only files?
by j41r (Beadle) on Dec 12, 2018 at 00:17 UTC

    So do you agree with hippo here that the new inode numbers for alpha/foo* in the linked doc are in error?

    Was it the original behaviour of perl in the past, when the author wrote it? The author did a good job explaining it so it's hard to believe it's a mistake.

    Oh, I almost forget it. Thank you ikegami for your answers.