From: xuefer at 21cn dot com Operating system: linux PHP version: 4.3.7 PHP Bug Type: Filesystem function related Bug description: move_uploaded_file to no Permission dir make php crash
Description: ------------ move_uploaded_file to NO Permission dir get make crash in shell: chmod 000 /path/to in php: move_uploaded_file($_FILES['userfile']['tmp_name'], '/path/to/file.jpg'); crash or show 2 error: move_uploaded_file(/path/to/file.jpg): failed to open stream: Permission denied move_uploaded_file(): Unable to move '[EMAIL PROTECTED] ' to '@ËZ€V,' -- Edit bug report at http://bugs.php.net/?id=28708&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28708&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28708&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28708&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28708&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28708&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28708&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28708&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28708&r=support Expected behavior: http://bugs.php.net/fix.php?id=28708&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28708&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28708&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28708&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28708&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28708&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28708&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28708&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28708&r=float