#21095 [Fbk->Opn]: symlink and chroot

From: Date: Fri, 20 Dec 2002 12:10:20 +0000
Subject: #21095 [Fbk->Opn]: symlink and chroot
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28099@lists.php.net to get a copy of this message
ID: 21095 User updated by: busia@tiscali.it Reported By: busia@tiscali.it -Status: Feedback +Status: Open Bug Type: Filesystem function related Operating System: Redhat 7.2 PHP Version: 4.3.0RC3 New Comment: Yes I use php with thread safe enabled, I'm using Apache 2.0.43 with worker MPM. Previous Comments: ------------------------------------------------------------------------ [2002-12-19 18:43:09] iliaa@php.net Are you using PHP with thread safety enabled? ------------------------------------------------------------------------ [2002-12-19 06:11:44] busia@tiscali.it if I use <? chdir("/home/foo_alfa"); symlinks("../foo", "bar"); ?> the symlink that is created in /home/foo_alfa is bar -> /home/foo ant not bar -> ../foo how expected this is a problem because I use chroot jails for ftp and the file became not accessible. Andrea Busia ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21095&edit=1

« previous php.bugs (#28099) next »