On macOS a mode-0200 file's owner can list none of its attribute names either, so they are dropped, as
before attributes were kept. An ACL that denies the data but lets the names be listed still refuses the
save. Both are now tested on macOS. Also: the pages key doc gives the macOS exception for Cmd+Home/End.
A rename needs only a writable folder, so a read-only file would be
replaced where writing it in place would fail. Before staging, the
existing file is opened for writing without truncating; when that fails
the save fails with a read-only error.
The target is found by reading links one hop at a time, resolving
relative links against the link's folder. A dangling link writes the
file it names and stays a link, and a loop of links is an error.