[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dynamic mounts and chroot jail woes (long)...



On Mon, Oct 17, 2005 at 08:57:53PM +0100, Stephen Gran wrote:
> steve@mercury:~$ man ln | grep -A 1 \\-d
>   -d, -F, --directory
>          hard link directories (super-user only)

It is VERY dangerous to mess with, and I believe not supported by most
filesystems (for very very good reasons).

mkdir -p a/b/c
mkdir d
ln -d d a/b/c/d
mv a d

I sure hope something makes sure that can't happen.  The OS on the
acorns used to fail to check that sometimes when using the GUI.  THat
made for some serious mess in the filesystem.

Len Sorensen



Reply to: