ID: 45228
Updated by: [email protected]
Reported By: nanawel at eyeos dot org
Status: Assigned
Bug Type: Filesystem function related
Operating System: *
PHP Version: 5.2.6
Assigned To: pajoye
New Comment:
Some notes:
- mkdir()
works with file://C:/my/path under Windows
expected.
FAILS with file:///C:/my/path under Windows
expected (/c:/my/path is not a valid path)
FAILS with file://localhost/C:/my/path under Windows
expected,localhost/C:/my/path is not a valid path (same for linux,
fails as well)
However, the touch() funciton seems to have issue with file://, maybe
other as well but I did not test them all yet.
- rmdir()
FAILS with ALL file:// schemes under Windows and Linux
Previous Comments:
------------------------------------------------------------------------
[2009-01-07 14:58:00] nanawel at eyeos dot org
Ok, to sum up:
- mkdir()
works with file://C:/my/path under Windows
FAILS with file:///C:/my/path under Windows
FAILS with file://localhost/C:/my/path under Windows
- rmdir()
FAILS with ALL file:// schemes under Windows and Linux
- unlink()
works with file://C:/my/path under Windows
FAILS with file:///C:/my/path under Windows
FAILS with file://localhost/C:/my/path under Windows
I think I didn't forget anything, hope this helps.
------------------------------------------------------------------------
[2009-01-07 14:35:41] [email protected]
as the report is about both rmdir and unlink, the issue is not windows
specific. Will take care of it.
------------------------------------------------------------------------
[2009-01-07 14:27:53] nanawel at eyeos dot org
Except for the rmdir() function which fails on both Windows AND Linux
platforms, all the paths provided in the previous comments are explicite
Windows paths.
You cannot use "C:\" or "C:/" or "file://C:/" or something else under
Linux.
That's why I've just changed the OS concerned by the issue
from: * (all)
to: Windows
Thanks for your time.
------------------------------------------------------------------------
[2009-01-07 14:18:50] [email protected]
Confusing comments.
Does unlink work on linux?
Does unlink work on Windows?
Does rmdir work on Windows?
Does rmdir work on Windows?
------------------------------------------------------------------------
[2009-01-07 13:58:34] nanawel at eyeos dot org
Just changed the OS concerned by the issue.
------------------------------------------------------------------------
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/45228
--
Edit this bug report at http://bugs.php.net/?id=45228&edit=1