note 124661 added to function.is-executable
| From: | nick at NOSPAM dot ogredata dot com | Date: | Wed, 29 Jan 2020 06:33:48 +0000 |
| Subject: | note 124661 added to function.is-executable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-213974@lists.php.net to get a copy of this message | ||
This function returns the value for the process PHP is executing under.
/var/somebody/files was only executable by owner (700).
It contained world-readable files, but without execute permission, PHP could not access the
directory to download the files.
is_executable() returned false.
Making the dir world-executable (701) gave access to PHP. The download worked. And is_executable()
returned true.
I assume that if I added PHP to the group of the folder and gave the group executable permission,
that would also work.
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.172 (proxied: 157.131.99.133)
----
Manual Page -- http://php.net/manual/en/function.is-executable.php
Edit -- https://master.php.net/note/edit/124661
Del: integrated -- https://master.php.net/note/delete/124661/integrated
Del: useless -- https://master.php.net/note/delete/124661/useless
Del: bad code -- https://master.php.net/note/delete/124661/bad+code
Del: spam -- https://master.php.net/note/delete/124661/spam
Del: non-english -- https://master.php.net/note/delete/124661/non-english
Del: in docs -- https://master.php.net/note/delete/124661/in+docs
Del: other reasons-- https://master.php.net/note/delete/124661
Reject -- https://master.php.net/note/reject/124661
Search -- https://master.php.net/manage/user-notes.php