#21095 [Opn->Fbk]: symlink and chroot
| From: | iliaa@php.net | Date: | Fri, 20 Dec 2002 00:43:10 +0000 |
| Subject: | #21095 [Opn->Fbk]: symlink and chroot | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28043@lists.php.net to get a copy of this message | ||
ID: 21095
Updated by: iliaa@php.net
Reported By: busia@tiscali.it
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Redhat 7.2
PHP Version: 4.3.0RC3
New Comment:
Are you using PHP with thread safety enabled?
Previous Comments:
------------------------------------------------------------------------
[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