Edit report at https://bugs.php.net/bug.php?id=61485&edit=1
ID: 61485 Updated by: php-bugs@lists.php.net Reported by: juzna dot cz at gmail dot com Summary: rename('..', '..') doesn't report a warning -Status: Feedback +Status: No Feedback Type: Bug Package: Directory function related Operating System: Ubuntu PHP Version: 5.4.0 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2012-03-25 15:27:40] juzna dot cz at gmail dot com Weird, reports no error on my PC: http://pastebin.com/cryCawhk Though I asked my friends and it works as expected for them. Perhaps it's caused by my kernel (2.3.32), will double check with newer one ------------------------------------------------------------------------ [2012-03-24 16:11:00] il...@php.net Cannot reproduce the issue. The command return FALSE as expected and outputs a "Device or resource busy" error message. ------------------------------------------------------------------------ [2012-03-23 00:31:59] juzna dot cz at gmail dot com Tested on 5.4.0, 5.4.1-RC1, 5.3.10, 5.3.9 ------------------------------------------------------------------------ [2012-03-23 00:30:40] juzna dot cz at gmail dot com Description: ------------ This command executed in shell fails: mv .. .. but the same reports no error in PHP: rename('..', '..') (I think it reports error on windows) Test script: --------------- rename('..', '..') Expected result: ---------------- Warning: rename(..,..): ..... Actual result: -------------- nothing ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61485&edit=1