#50150 [Fbk->Opn]: stat() / lstat() does not work on a mounted cifs
| From: | balanalin2003 at yahoo dot com | Date: | Tue, 17 Nov 2009 12:28:07 +0000 |
| Subject: | #50150 [Fbk->Opn]: stat() / lstat() does not work on a mounted cifs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144708@lists.php.net to get a copy of this message | ||
ID: 50150
User updated by: balanalin2003 at yahoo dot com
Reported By: balanalin2003 at yahoo dot com
-Status: Feedback
+Status: Open
Bug Type: Streams related
Operating System: ubuntu 9.10
PHP Version: 5.3.0
New Comment:
still getting this error, it may be a problem with my os, or the mount
because i have try it on a fedora 7 and filesize worked,
wait until you get another report to confirm this, i'm using java until
then.
Thanks
Previous Comments:
------------------------------------------------------------------------
[2009-11-16 09:49:54] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
And use --disable-phar in your configure line.
------------------------------------------------------------------------
[2009-11-16 06:29:03] balanalin2003 at yahoo dot com
root@alin-laptop:~# uname -r
2.6.31-14-generic
Launchpad Janitor wrote on 2009-01-12: #20
This bug was fixed in the package linux - 2.6.28-4.10
so if i have 2.6.31 and it was fixed in 2.6.28, this shouldn't bee the
problem
thanks for you're response
------------------------------------------------------------------------
[2009-11-12 17:44:53] jani@php.net
Yes, but stat on command line might be different to stat() function.
:)
Please check the kernel version compared to where this bug is fixed.
(and when you give feedback, use the "Edit Submission" link, NOT the
"Add Comment"..)
------------------------------------------------------------------------
[2009-11-11 13:31:39] balanalin2003 at yahoo dot com
well i think is not the same because if i run from the terminal:
stat /mount/Arena2/tickers.txt
i get:
stat /mount/Arena2/tickers.txt
File: `/mount/Arena2/tickers.txt'
Size: 184118245 Blocks: 359680 IO Block: 16384 regular file
Device: 16h/22d Inode: 23080948090339228 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/
root)
Access: 2009-11-11 14:29:25.125000000 +0200
Modify: 2009-11-10 17:26:20.099468800 +0200
Change: 2009-11-10 17:26:20.099468800 +0200
if i have a script like this:
<?php
$fp=fopen("/mount/Arena2/tickers.txt","r");
echo (fgets($fp));
?>
i get first line from that file;
only stat() is the problem
------------------------------------------------------------------------
[2009-11-11 12:38:02] jani@php.net
And you're sure it's not this bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/220658
------------------------------------------------------------------------
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/50150
--
Edit this bug report at http://bugs.php.net/?id=50150&edit=1