Bug #71222 [Com]: stat() failed when other has not x
| From: | php7 at myrosoft dot com | Date: | Wed, 30 Dec 2015 09:24:15 +0000 |
| Subject: | Bug #71222 [Com]: stat() failed when other has not x | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-198308@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71222&edit=1
ID: 71222
Comment by: php7 at myrosoft dot com
Reported by: bugs dot php at myrosoft dot com
Summary: stat() failed when other has not x
Status: Open
Type: Bug
Package: Filesystem function related
Operating System: openSUSE 13.2 (Harlequin) 64b
PHP Version: 7.0Git-2015-12-25 (snap)
Block user comment: N
Private report: N
New Comment:
This issue was due to a misconfiguration of on OS-level and not related to php.
So this issue could be closed.
Previous Comments:
------------------------------------------------------------------------
[2015-12-25 20:23:47] bugs dot php at myrosoft dot com
Description:
------------
for a directory with
drwxr--r-- 2 fotoGtg users 84 Feb 28 2014 myDir
filesize ('path to myDir/.');
fails with
Warning: filesize(): stat failed for ...
with
drwxr--r-- 2 fotoGtg users 84 Feb 28 2014 myDir
the call succeeds.
Note that in the former case:
filesize ('path to myDir');
succeeds,
but
filesize ('path to myDir/anyExistingFile');
fails.
php version: git id: b3d0178915163c8d52091a6a822007a56ce02801
get_current_user () reports fotoGtg.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71222&edit=1