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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugs dot php at myrosoft dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 17:01:33 2025 UTC