Re[2]: chroot & mount --bind = security ?
From: Marius Huse Jacobsen (mahuja_at_c2i.net)
Date: 04/08/04
- Previous message: Enrico Scholz: "Re: chroot & mount --bind = security ?"
- In reply to: link: "Re: chroot & mount --bind = security ?"
- Next in thread: Sam Baskinger: "Re: chroot & mount --bind = security ?"
- Reply: Sam Baskinger: "Re: chroot & mount --bind = security ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 8 Apr 2004 15:12:42 +0200 To: link <focus-linux@securityfocus.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello link,
Tuesday, April 6, 2004, 8:28:01 PM, you wrote:
>> I would like to do like this :
>>
>> - A folder /var/www witch contains my html documents
>> - mount --bind /var/www /chroot/httpd/var/www to allow the web server to access them
>> - mount --bind /var/www /chroot/ftpd/var/www to allow the ftp server to update them
l> This is how I do it for my chroot'd ftp server, since 'ln -s' obviously
How about 'ln' ?
Presuming they are on the same mount point and media, a "hard link"
shouldn't be a problem.
I've never seen hard links being "not recommended" - perhaps except
when symlinks could do the job.
- --
Best regards,
Marius mailto:mahuja@c2i.net
-----BEGIN PGP SIGNATURE-----
iQA/AwUBQHVB35fZ2CSWpu1rEQK1LQCeNJq9MhNLb9XF+f2/d1Qf62Y/vLsAn2+h
T+Mx0eJGKdOlM3U0cX+DWTDp
=p1xb
-----END PGP SIGNATURE-----
- Previous message: Enrico Scholz: "Re: chroot & mount --bind = security ?"
- In reply to: link: "Re: chroot & mount --bind = security ?"
- Next in thread: Sam Baskinger: "Re: chroot & mount --bind = security ?"
- Reply: Sam Baskinger: "Re: chroot & mount --bind = security ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|