Re: [gentoo-user] Symlinking out of a chroot

2006-11-13 Thread Daniel Iliev
Brian Davis wrote: > --snip--- > > The mount --bind thing looked nice, but you can't change the mount > permissions from what those directories already have, i.e. if I have > /stuff/pics on a filesystem mounted rw, I can't then mount --bind it > to ro. At least that's what the man page says. If I

Re: [gentoo-user] Symlinking out of a chroot

2006-11-13 Thread Brian Davis
Not the "--bind" way, that's right. You could, however, do it with a loopback'ed network fs mount. Thanks Hans-Werner, I'll check that out! -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Symlinking out of a chroot

2006-11-13 Thread Hans-Werner Hilse
Hi, On Mon, 13 Nov 2006 09:51:33 -0500 Brian Davis <[EMAIL PROTECTED]> wrote: > The mount --bind thing looked nice, but you can't change the mount > permissions from what those directories already have, i.e. if I have > /stuff/pics on a filesystem mounted rw, I can't then mount --bind it > to r

Re: [gentoo-user] Symlinking out of a chroot

2006-11-13 Thread Brian Davis
As they say, security comes at the cost of convenience (and storage in this case), so I think the most secure solution is to just copy over the data I need to publish to the chroot. I've given it thought, and I don't want the potential apache hax0r to get to (and potentially delete) all my orig

Re: [gentoo-user] Symlinking out of a chroot

2006-11-13 Thread Hans-Werner Hilse
Hi, On Mon, 13 Nov 2006 12:04:51 +0100 Alex <[EMAIL PROTECTED]> wrote: > i would suggest an alias for this -> > http://httpd.apache.org/docs/2.0/mod/mod_alias.html#alias > > Aliases werde made for this kind of problem ( data's were not in the > documentroot) Yep, but they're not made for *this*

Re: [gentoo-user] Symlinking out of a chroot

2006-11-13 Thread Alex
Hi, On Sun, Nov 12, 2006 at 09:56:31AM -0500, Brian Davis wrote: > Hey folks, > > I will be running my apache2 server in a chroot. Most of my data for the > server (e.g. pictures, user webpages) are on another partition from my > chroot. I don't want to move all that data into the apache chroo

Re: [gentoo-user] Symlinking out of a chroot

2006-11-12 Thread Hans-Werner Hilse
Hi, On Sun, 12 Nov 2006 09:56:31 -0500 Brian Davis <[EMAIL PROTECTED]> wrote: > I will be running my apache2 server in a chroot. Most of my data for the > server (e.g. pictures, user webpages) are on another partition from my > chroot. I don't want to move all that data into the apache chroot

Re: [gentoo-user] Symlinking out of a chroot

2006-11-12 Thread Boyd Stephen Smith Jr.
On Sunday 12 November 2006 08:56, Brian Davis <[EMAIL PROTECTED]> wrote about '[gentoo-user] Symlinking out of a chroot': > I will be running my apache2 server in a chroot. Most of my data for the > server (e.g. pictures, user webpages) are on another partition from my >

Re: [gentoo-user] Symlinking out of a chroot

2006-11-12 Thread Shawn Haggett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Davis wrote: > Hey folks, > > I will be running my apache2 server in a chroot. Most of my data for the > server (e.g. pictures, user webpages) are on another partition from my > chroot. I don't want to move all that data into the apache chroot

Re: [gentoo-user] Symlinking out of a chroot

2006-11-12 Thread Daniel Iliev
Brian Davis wrote: > Hey folks, > > I will be running my apache2 server in a chroot. Most of my data for > the server (e.g. pictures, user webpages) are on another partition > from my chroot. I don't want to move all that data into the apache > chroot if I don't have to. Therefore I would have so

[gentoo-user] Symlinking out of a chroot

2006-11-12 Thread Brian Davis
Hey folks, I will be running my apache2 server in a chroot. Most of my data for the server (e.g. pictures, user webpages) are on another partition from my chroot. I don't want to move all that data into the apache chroot if I don't have to. Therefore I would have soft symlinks from the chroo