Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
Please forgive my ignorance, but what do hard links have to do with chrooting? How exactly are hard links used together with chroot jails?
Why not just not support hard links?
Posted Sep 2, 2004 11:26 UTC (Thu) by hensema (guest, #980)
However, with hard links, you only need one instance of a file on disk, which saves space.
Note that hard linking from inside a chroot to main system files (such as /bin/bash) is not a very smart thing to do, as chrooted users can then modify exactly the files you wanted to prevent them from modifying. So you always need two copies of a file.
Posted Sep 2, 2004 12:04 UTC (Thu) by flewellyn (subscriber, #5047)
Posted Sep 2, 2004 12:52 UTC (Thu) by maniax (subscriber, #4509)
Posted Sep 2, 2004 16:35 UTC (Thu) by Ross (subscriber, #4065)
Posted Sep 2, 2004 19:52 UTC (Thu) by oak (subscriber, #2786)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds