Stalker, Doug was once rumoured to have said:
> 
> How can I create a hardlink to a directory?  ln promises to do it if I use
> '--directory' as root, but I get permissions errors.

You don't.  For a start, --directory doesn't even exist in the ln on my 
Debian unstable box, which is a pretty good indicator that it doesn't exist.

Secondly, Hardlinking directories is WRONG - to permit such an act would be 
insanely stupid due to the massive amount of damage that you could allow
users to inadvertantly cause due to them not realising that the directory is
a hardlink and trying to do something simple like a 'rm -rf' against it.

Symlinks will suffice.

Consult your friendly ln manpage for further (correct) information.

C.
-- 
--==============================================--
  Crossfire      | This email was brought to you
  [EMAIL PROTECTED] | on 100% Recycled Electrons
--==============================================--
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to