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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Thu Mar 28 22:01:26 2024 UTC