#37778 [Opn]: several filesystem functions fail on files >2GB - e.g. fileatime(), fileowner()
| From: | postings-php-bug at hans-spath dot de | Date: | Sun, 11 Jun 2006 02:34:39 +0000 |
| Subject: | #37778 [Opn]: several filesystem functions fail on files >2GB - e.g. fileatime(), fileowner() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98273@lists.php.net to get a copy of this message | ||
ID: 37778
User updated by: postings-php-bug at hans-spath dot de
Reported By: postings-php-bug at hans-spath dot de
Status: Open
Bug Type: Filesystem function related
Operating System: Linux 2.6.8
PHP Version: 5.1.4
New Comment:
Ooops... the expected result was for fileowner()... but you get the
idea...
Previous Comments:
------------------------------------------------------------------------
[2006-06-11 02:23:45] postings-php-bug at hans-spath dot de
Description:
------------
Several filesystem functions fail on files greater than 2GB.
Affected functions are:
- fileatime()
- filectime()
- filegroup()
- fileinode()
- filemtime()
- fileowner()
- fileperms()
- filesize() - I wouldn't complain if only this was affected.
- filetype()
- stat()
(maybe more...)
Reproduce code:
---------------
echo fileatime("file-greater-than-2gb");
Expected result:
----------------
1000
Actual result:
--------------
Warning: fileowner(): stat failed for file-greater-than-2gb in Command
line code on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37778&edit=1