php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71222 stat() failed when other has not x
Submitted: 2015-12-25 20:23 UTC Modified: 2015-12-30 18:26 UTC
From: bugs dot php at myrosoft dot com Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 7.0Git-2015-12-25 (snap) OS: openSUSE 13.2 (Harlequin) 64b
Private report: No CVE-ID: None
 [2015-12-25 20:23 UTC] 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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-30 09:24 UTC] php7 at myrosoft dot com
This issue was due to a misconfiguration of on OS-level and not related to php.
So this issue could be closed.
 [2015-12-30 18:26 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2015-12-30 18:26 UTC] requinix@php.net
.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC