> One thing you might try is only allow directories to be linked if
> the new links are at the same distance from the root. While this
> would limit the usefulness of the hard linked directories it would
> help with `chroot'. An example would be if you wanted to chroot
> users into their home directories. You create:
>
> /home/skel/usr/bin
> /lib
> /etc
>
> and then you could run
>
> ln /home/skel/usr/ into /home/gam3/usr/
> ln /home/skel/usr/ into /home/ann/usr/
That gives you nothing - you can change the depth by rename later. It's
still the complete generic situation.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/