The trouble with symbolic links
The trouble with symbolic links
Posted Jul 7, 2022 16:23 UTC (Thu) by nix (subscriber, #2304)In reply to: The trouble with symbolic links by iabervon
Parent article: The trouble with symbolic links
That requires all userspace programs not only to follow symlinks but to do so recursively (since any component of a path may be a symlink), and to do so in a race-free fashion. They also all need to spot loops.
How many of them do you imagine will get *that* right, given how many bugs and races there have been in, say, rm -rf, which you'd think is heavily tested? Oh look, a new set of security holes, probably worse than the last lot.
-- N., very heavy user of symlinks, thank god for Nix (the distro, no relation) making sure that not too many break when entire /usr trees are symlink farms