bug-coreutils
[Top][All Lists]
Advanced

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

Re: hard link to directories


From: Jim Meyering
Subject: Re: hard link to directories
Date: Sat, 15 Nov 2003 10:40:11 +0100

Heinz-Josef Claes <address@hidden> wrote:
> the man page of the ln command
> (ln (coreutils) 5.0    March 2003   LN(1))
> says:
>
>
>    -d, -F, --directory
>           hard link directories (super-user only)
>
> I tried to do this:
>
> # mkdir a
> # ln -F a b
> ln: creating hard link `b' to `a': Operation not permitted

Right.  Few (no?) modern file systems allow hard links to directories.
Here's what --help says with the version from CVS:

  -d, -F, --directory         allow the superuser to attempt to hard link
                                directories (note: will probably fail due to
                                system restrictions, even for the superuser)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]