Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: tranbert on May 18, 2001, 12:24:32 AM

Title: hard link to directories
Post by: tranbert 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
Title: Re: hard link to directories
Post by: John Loach on May 20, 2001, 07:25:20 PM
Try option -s (creates a symbolic link).

ln -s