Edit report at https://bugs.php.net/bug.php?id=64986&edit=1
ID: 64986
User updated by: mhhechanova at gmail dot com
Reported by: mhhechanova at gmail dot com
Summary: is_readable cannot read UNC path
-Status: Feedback
+Status: Assigned
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Windows 64 Bit
PHP Version: 5.3.26
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
is_readable("\\\\127.0.0.1\\test\\test.txt"); //returns TRUE
However is_readable("\\\\servername\\sharename\\file.txt"); still returns FALSE
***ALL PERMISSIONS to that folder is set to ALLOW
Previous Comments:
------------------------------------------------------------------------
[2013-06-12 06:47:45] [email protected]
Hi,
with \\127.0.0.1 i didn't mean explorer. Just create some test share like
\\127.0.0.1\test\test.txt and try your PHP snippet.
With 'full control' - as it might be different, again - are the checkboxes
'read
attributes' and 'read extended attributes' explicitly active on that file?
Thanks.
------------------------------------------------------------------------
[2013-06-11 23:58:56] mhhechanova at gmail dot com
@ab,
after executing this command :
** What happens if you try to access a share on \\127.0.0.1 ?
- A new explorer window opens, displaying the shared folder on my local
machine.
Thanks
------------------------------------------------------------------------
[2013-06-11 11:31:28] [email protected]
What happens if you try to access a share on \\127.0.0.1 ?
------------------------------------------------------------------------
[2013-06-11 11:10:42] mhhechanova at gmail dot com
Administrator account has full control.
------------------------------------------------------------------------
[2013-06-11 11:06:40] [email protected]
Could you please check via the gui, properties->security->advanced, if the user
has the right to 'read attributes' and 'read extended attributes'? If it's not
set, please do set and try again. That permission must be set on every path
element.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=64986
--
Edit this bug report at https://bugs.php.net/bug.php?id=64986&edit=1