5 ms·
Maybe to avoid broken links if you move the original files? That's the main benefit of hardlinks vs symlinks in my mind at least.
by mostthingsweb 2y ago
Maybe to avoid broken links if you move the original files? That's the main benefit of hardlinks vs symlinks in my mind at least.
- actionfromafar 2y agoThat can also be a downside, you believe you have moved stuff but now you can have different versions of programs that don't expect that to be a possibility.
- ForOldHack 2y agoIf there is a simlink, a hardlink and an executable, all with the same name, which one will it run? Which one will the shell object to? Which one should the shell object to. If a virus/SUID program overwrites a simlink, no problem, but ift it traces the simlink to the executable, and then over writes that...