Koozali.org: home of the SME Server

hard link to directories

tranbert

hard link to directories
« on: May 18, 2001, 12:24:32 AM »
has anyone tried to make a hard link to a dir ?


# ln /source /dest
ln: /source: hard link not allowed for directory

Works for symbolic links, but not for hard.

ln -d /source /dest
ln: create hard link /dest/source' to /source': Operation not permitted

John Loach

Re: hard link to directories
« Reply #1 on: May 20, 2001, 07:25:20 PM »
Try option -s (creates a symbolic link).

ln -s