#28865 [Com]: Functions ftp_*list

From: Date: Mon, 08 Nov 2004 10:04:34 +0000
Subject: #28865 [Com]: Functions ftp_*list
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-68796@lists.php.net to get a copy of this message
ID: 28865 Comment by: p1pp0 at email dot it Reported By: 336764 at 163 dot com Status: No Feedback Bug Type: FTP related Operating System: MandRake 10 PHP Version: 5.0.0RC3 Assigned To: pollita New Comment: ftp_rawlist ($conn_id, ftp_pwd($conn_id)) Warning: ftp_rawlist(): Unable to create temporary file. Check permissions in temporary files directory Previous Comments: ------------------------------------------------------------------------ [2004-07-22 09:20:12] flagman_ at rambler dot ru In php ver. 4.3.8 the temporary file have creates with chmod 600 and belongs to root, in that case apache can`t operate on that file and reports: Warning: ftp_rawlist(): Unable to create temporary file. Check permissions in temporary files directory ------------------------------------------------------------------------ [2004-07-02 01:00:03] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2004-06-24 02:15:45] pollita@php.net Now that you've changed your environment variable settings, and gotten tmpfile() to work, do ftp_nlist() and/or ftp_rawlist() work as expected? ------------------------------------------------------------------------ [2004-06-23 12:04:12] 336764 at 163 dot com vi /root/.bashrc Add "TMPDIR=/tmp" save & exit; Restart httpd run php: var_dump(tmpfile()); get: resource(2) of type (stream) ------------------------------------------------------------------------ [2004-06-23 03:37:39] 336764 at 163 dot com PHP5 Environment variable: TMPDIR is /root/tmp How to change it ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28865 -- Edit this bug report at http://bugs.php.net/?id=28865&edit=1

« previous php.bugs (#68796) next »