Edit report at https://bugs.php.net/bug.php?id=51266&edit=1

 ID:               51266
 Updated by:       php-bugs@lists.php.net
 Reported by:      dctucker at hotmail dot com
 Summary:          stat failed on cifs-mounted files
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Filesystem function related
 Operating System: Arch Linux (current)
 PHP Version:      5.3.2

 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:
------------------------------------------------------------------------
[2011-11-30 20:39:19] brandonkirsch at gmail dot com

We recently upgraded our underlying Linux OS and ran into this same issue.  For 
other Googlers who come across this bug report:  Use the "noserverino" mount 
option as specified by others.

If you want to know more about this issue, see: 
http://linux.die.net/man/8/mount.cifs

The important thing to know is that CIFS servers will frequently return inode 
integer values that are greater than 31^2. If you read the PHP documentation 
for 
these filesystem functions, you will find a disclaimer that these large 
unsigned 
integer values will break in PHP.

Disable the possibility of really big inode numbers from your CIFS mounts by 
using the "noserverino" mount option.

------------------------------------------------------------------------
[2010-07-30 15:20:05] beststom14 at hotmail dot com

Same issue. Windows Seven 32 bit. When programming a file manager i found that 
some dirs were being listed as files. For some reason when i create a new dir 
it gets listed correctly but when i COPY it from somewhere it is listed as a 
file.

------------------------------------------------------------------------
[2010-06-04 08:32:44] m...@php.net

Cannot reproduce, still works fine here.

When you edit your report, please re-open it, too.

------------------------------------------------------------------------
[2010-06-03 20:37:31] dctucker at hotmail dot com

The mount command lacks noserverino:

$ tail -n 1 /etc/fstab
//theword/d  /mnt/theword  cifs    
nocase,file_mode=0664,dir_mode=0775,username=Administrator%,uid=nobody 0 0

------------------------------------------------------------------------
[2010-05-21 11:23:44] m...@php.net

How does the mount command look like, so that it fails?

------------------------------------------------------------------------


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=51266


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=51266&edit=1

Reply via email to