Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2007 05:16:49 -0400
From:      "Ighighi Ighighi" <ighighi@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: local "jailed" symlinks
Message-ID:  <de5dfb5a0709130216n73208e30w9f4daccf4086f697@mail.gmail.com>
In-Reply-To: <f0037ce96e1439ea607a2c7e381948a1@gmail.com>
References:  <46E8DF09.40008@gmail.com> <f0037ce96e1439ea607a2c7e381948a1@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/13/07, Joshua Isom _ jrisom at gmail.com _ wrote:
> Make all of your symlinks relative instead of absolute.  It might mean
> linking /foo/bar/baz to /bax/bay/baw as ../../../bax/bay/baw but it
> would suffice.

This is precisely the kind of manual intervention that I want to avoid...
Ideally, it should be done automatically.  Your approach wouldn't work
on read-only filesystems (and some of them can't be mounted read-write
anyway: ISO-9660 with Rockridge extensions).

By the way, I thought of using unionfs but it would be overkill and messy.

Salutes,
Igh.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de5dfb5a0709130216n73208e30w9f4daccf4086f697>