php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17128 lstat (mis)behaves exactly like stat
Submitted: 2002-05-09 16:03 UTC Modified: 2002-07-02 16:29 UTC
From: Andrew dot Rice at inGenesis dot net Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.2.0 OS: Debian GNU/Linux 2.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 - 23 = ?
Subscribe to this entry?

 
 [2002-05-09 16:03 UTC] Andrew dot Rice at inGenesis dot net
lstat tracks through symbolic link and returns the permission mode of the actual file, rather than the link itself.
fileperms also seems to be affected.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-09 16:42 UTC] Andrew dot Rice at inGenesis dot net
is_link is also broken
 [2002-07-02 16:29 UTC] sterling@php.net
thanks for the laugh...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 16:01:32 2024 UTC