Bug #53214 [Com]: is_readable() returns false on readable files on windows network drive to linux

From: Date: Tue, 19 Aug 2014 06:42:00 +0000
Subject: Bug #53214 [Com]: is_readable() returns false on readable files on windows network drive to linux
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187174@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53214&edit=1 ID: 53214 Comment by: a959193 at trbvm dot com Reported by: nevdelap at gmail dot com Summary: is_readable() returns false on readable files on windows network drive to linux Status: Not a bug Type: Bug Package: Filesystem function related Operating System: Windows PHP Version: 5.3.3 Block user comment: N Private report: N New Comment: I have the same problem, but with Windows on host and Windows on guest machine in Virtual Box. Previous Comments: ------------------------------------------------------------------------ [2010-10-31 20:44:50] pajoye@php.net Not a bug > bogus ------------------------------------------------------------------------ [2010-10-31 20:43:36] nevdelap at gmail dot com Very good. You are right. Across samba it works fine, so the issue appears to be in VirtualBoxes implementation. Thanks! ------------------------------------------------------------------------ [2010-10-31 20:33:30] pajoye@php.net Remote shares work just fine, including is_readable. I have no idea what uses virtualbox for the shares, I suppose some custom versions of Samba. But it does not look like a PHP problem to me, as shares work fine in our test platforms (with Samba too). I would suggest to debug virtualbox to see what it does or what is used for the share and then try to figure out why it fails. ------------------------------------------------------------------------ [2010-10-31 19:55:27] nevdelap at gmail dot com remove was meant to be remote. (of course) ------------------------------------------------------------------------ [2010-10-31 19:54:36] nevdelap at gmail dot com The two scripts (identical except for the driver letters) are only to make it explicit that one result is on C: - the local drive, which you asked about - the answer is there, and the other N: - the remove drive. Does it work with local filesystem as expected? - Yes - that is what C: is showing. What is used on the remote host? Samba? Which version? - VirtualBox does the sharing. Not the remote host. Please show one script and what you expect as output or result. - It is the same script aside from the drive letters which just make it more explicit what is happening. ------------------------------------------------------------------------ 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=53214 -- Edit this bug report at https://bugs.php.net/bug.php?id=53214&edit=1

« previous php.bugs (#187174) next »