-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Matthew Woehlke on 8/27/2009 5:09 PM: > Hard-linked *directories*? I wasn't aware those were allowed... (If I > read 'man 3 link' right, they aren't allowed on Linux.)
POSIX permits, but does not require, them (and Linux intentionally does not permit them). Solaris has them (for superuser only), but they are annoying; they break some optimizations that would otherwise be possible due to unlink() vs. rmdir() semantics. Therefore, coreutils already intentionally drops privileges on Solaris in order to remove the ability to unlink a hard-linked directory. - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqXRuwACgkQ84KuGfSFAYBpMACfTjrR2VmKWa0N04Y3SKr5xsJE WhMAn1LFTOJiLGIbbePvkC5sYgnMfH05 =TGOI -----END PGP SIGNATURE-----
