php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3851 is_executable() : wrong result
Submitted: 2000-03-16 16:49 UTC Modified: 2000-07-04 11:08 UTC
From: danny dot heijl at cevi dot be Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Latest CVS (16/03/2000) OS: RH Linux 6.0
Private report: No CVE-ID: None
 [2000-03-16 16:49 UTC] danny dot heijl at cevi dot be
Red Hat Linux, latest CVS :

rwxr-xr-x : is_executable() returns 1 : OK.
rw-r--r-- : is_executable() returns 1 : WRONG.

Danny
---

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-17 04:54 UTC] hholzgra at cvs dot php dot net
seems that i was to much in a 'root can do everything'
mode when i tried to get the is_(readable|writable|executable)
functions being aware of user and group rights

root can right read and write anything and execute any
file that is at least executable for someone

the fix is in in a minute
 [2000-03-17 07:50 UTC] hholzgra at cvs dot php dot net
PS: we will switch to access(2) system call to get this
right for other means of access control like ACLs to,
once and for all ...
(current version will work for plain unix and windows(?)
style only )
 [2000-03-18 09:48 UTC] danny dot heijl at cevi dot be
It still gives the wrong result with the current CVS (March 18, 15:46 GMT-1)

Danny
---

 [2000-07-04 11:08 UTC] stas at cvs dot php dot net
Failed to reproduce on latest version.
If this stil happens, please resubmit.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 23:00:01 2026 UTC