Edit report at http://bugs.php.net/bug.php?id=51266&edit=1
ID: 51266
Updated by: mike@php.net
Reported by: dctucker at hotmail dot com
Summary: stat failed on cifs-mounted files
-Status: Open
+Status: Bogus
Type: Bug
Package: Filesystem function related
Operating System: Arch Linux (current)
PHP Version: 5.3.2
New Comment:
Works fine here too, so I assume it's not a PHP bug.
Previous Comments:
------------------------------------------------------------------------
[2010-03-24 20:05:42] mail at daniel-berlin dot de
Adding cifs option "noserverino" solves the problem.
------------------------------------------------------------------------
[2010-03-23 19:23:33] mail at daniel-berlin dot de
Sorry, I meant 5.2.4 ...
------------------------------------------------------------------------
[2010-03-23 19:20:19] mail at daniel-berlin dot de
For me, it doesn't even work with PHP 5.3.2
------------------------------------------------------------------------
[2010-03-10 21:13:33] dctucker at hotmail dot com
I would also like to add that this bug did not exist in versions prior
to php-5.2.5
------------------------------------------------------------------------
[2010-03-10 21:09:04] dctucker at hotmail dot com
Works fine under shell with the same user as PHP runs in Apache:
$ sudo -u nobody stat /mnt/share/Dir/file.wav
File: `/mnt/share/Dir/file.wav'
Size: 159432852 Blocks: 311400 IO Block: 16384 regular
file
Device: fh/15d Inode: 281474976737089 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 99/ nobody) Gid: ( 0/
root)
Access: 2010-03-08 09:01:09.987840000 -0500
Modify: 2010-03-06 00:00:00.000000000 -0500
Change: 2010-03-05 07:31:34.933320700 -0500
------------------------------------------------------------------------
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/bug.php?id=51266--
Edit this bug report at http://bugs.php.net/bug.php?id=51266&edit=1