Re: Symbolic links vs hard links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Other people are of the opinion that the invention of the symbolic link
was a huge mistake.

I guess I haven't heard that one.  What is the argument that we were
better off without symbolic links?

Numerous security bugs in tar (extracting a specially crafted archive with symlinks could overwrite arbitrary file) and in coreutils.

For example, to walk directory path without following symlinks, you must break the path to elements and repeatedly use
h = open(element, O_RDONLY | O_NOFOLLOW);
fchdir(h);
--- latest coreutils have it, but it's obvious that a lot of file-manipulation programs doesn't, making them unsafe to operate on user's directories from root account.

Mikulas
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux