Skip to contentSkip to conversation

ln -F

DISCUSSION Luca Ferrari 2 participants 2 messages Jun 10, 2004

lore
Share & tools
lore
#0 lore raw

Hi,
from the manual page of ln I saw that the -F option should grant to root the capability to create hard link between directories. I believe this is a good feature if the directories are on the same partition, but each time I tried to do it iI was unable: Operation not permitted.
Can anybody explain me why?

Thanks,
Luca

Signature · 2 lines
Luca Ferrari,
[email protected]
#1 lore raw
Quoted 5 lines · Luca Ferrari

from the manual page of ln I saw that the -F option should grant to root the capability to create hard link between directories. I believe this is a good feature if the directories are on the same partition, but each time I tried to do it iI was unable: Operation not permitted.
Can anybody explain me why?

Most modern Unices, including Linux, disallow the creation of hard links to directories, even for root.

Signature · 1 line
Glynn Clements <[email protected]>