Bug 6943 - hardlinking directories isn't permitted
hardlinking directories isn't permitted
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
6.1
All Linux
medium Severity high
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-12 02:24 EST by Pekka Savola
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-11-12 13:30:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pekka Savola 1999-11-12 02:24:34 EST
Hardlinking directories isn't permitted.  You get:

[root@here] ln --directory DIR1 DIR2
ln: cannot create hard link `DIR2' to `DIR1': Operation not permitted

Even though I'm root.

ln --help suggests that it should be possible:
----
  -d, -F, --directory         hard link directories (super-user only)
----

I tried is on RH 5.1 and 6.1+rawhide:
fileutils-3.16-9
fileutils-4.0-8
Comment 1 Bernhard Rosenkraenzer 1999-11-12 13:30:59 EST
hardlinking directories is not possible with every filesystem (most filesystems
don't support this actually).
The ext2 filesystem definitely doesn't do hardlinked directories.
What do you need them for?

Note You need to log in before you can comment on or make changes to this bug.