|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51470 Files on NTFS Mounted Volumes inaccessible
Submitted: 2010-04-04 07:33 UTC Modified: 2013-02-18 00:34 UTC
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: benjamin at gnbit dot com Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 5.3.2 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-04-04 07:33 UTC] benjamin at gnbit dot com
Server Web: Linux Fedora 12 
Partition: ext4
Apache 2.0
PHP 5.3.2

Server File: Windows Server 2008  
Partition: Ntfs  

mount windows files in linux using Samba,
mount -t cifs -o 
ode=0777  //  /var/www/html/winsamba/

include, reqire and include_path files the seem inaccessible to PHP 5.3.2 (5.2.x 
version do not show this problem)

Test script:
require_once "Initializer.php";

Expected result:

Actual result:
Warning: require_once(Initializer.php) [function.require-once]: failed to open 
stream: No such file or directory in /var/www/html/winsamba/files/bootstrap.php 
on line 47

Fatal error: require_once() [function.require]: Failed opening required 
'Initializer.php' in /var/www/html/winsamba/files/bootstrap.php on line 47


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-04 17:48 UTC] benjamin at gnbit dot com
absolute paths work, but relative paths do not work
 [2010-05-19 14:56 UTC]
-Status: Open +Status: Feedback -Package: Systems problem +Package: Filesystem function related
 [2010-05-19 14:56 UTC]

Is Initializer.php within your include_path?
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
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.
 [2014-06-11 06:17 UTC] ken at kennethdoyle dot net
So this issue is seemingly mitigated by mounting the CIFS share with the "noserverino" option.

Workaround taken from this page here:
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jan 27 04:01:25 2021 UTC