Home » HTTP » HTTP_Upload » Bug #759
copy can not copy outside open_base_dir restriction
Details
| Submitted | 2004-02-15 18:11 UTC |
|---|---|
| From | maka3d at yahoo dot com dot br |
| Assigned | antonio |
| Status | Closed |
| Package | HTTP_Upload |
| PHP Version | 4.3.4 |
| OS | freeBSD |
| Roadmaps | (Not assigned) |
Comments
[2004-02-15 18:11 UTC] maka3d at yahoo dot com dot br
Description:
------------
at line 577 copy should be replaced by move_uploaded_file
since copy can't acess outside open_base_dir restriction but move_uploaded_file can.
[2004-02-23 01:59 UTC] maka3d at yahoo dot com dot br
the right line is 602 from CVS 1.26 version
[2004-05-28 15:39 UTC] floripa at organiKa dot com dot br
Sorry, but your problem does not imply a bug in PEAR itself. For a
list of more appropriate places to ask for help using PEAR, please
visit http://pear.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.
Thank you for your interest in PEAR.
It's not a good ideia copy files to a place where the administrator doen't allow it.
[2004-05-28 15:54 UTC] maka3d at yahoo dot com dot br
move_uploaded_file does not "copy files to a place where the administrator doesn't allow it", but "copy files FROM a place that the administrator set at the upload_tmp_dir ini configuration"
since using copy you can't acess the upload_tmp_dir, it's still is a bug.
[2004-05-28 18:09 UTC] maka3d at yahoo dot com dot br
move_uploaded_file does not "copy files to a place where the
administrator doesn't allow it", but "copy files FROM a place that the
administrator set at the upload_tmp_dir ini configuration"
since using copy you can't acess the upload_tmp_dir, it's still is a
bug.