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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Andrew dot Rice at inGenesis dot net
New email:
PHP Version: OS:

 

 [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: Tue Apr 16 21:01:28 2024 UTC