On Wed, 2003-02-26 at 16:26, Stalker, Doug wrote:
> How can I create a hardlink to a directory?  ln promises to do it if I use
> '--directory' as root, but I get permissions errors.
> 
> # ln --directory /tmp /chroot/test2/tmp
> ln: creating hard link '/chroot/test2/tmp' to '/tmp': Operation not
> permitted
> 
> (Using RedHat 8.0)

Are they on the same file system?  You cannot create hardlinks across
filesystems, you have to use symbolic links.

-- 
Thanks
KenF
OpenOffice.org developer

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to