note 124784 added to function.chmod
| From: | chris at ocproducts dot com | Date: | Mon, 02 Mar 2020 19:50:12 +0000 |
| Subject: | note 124784 added to function.chmod | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-214272@lists.php.net to get a copy of this message | ||
Windows has a very different file permission model to Unix and integrates them only minimally.
On Windows, all this function can do is to change the "read only" flag, which is turned on
if $mode & 0200 does not pass.
i.e. it only checks if u+w is missing from the bitmask, and if it is, it sets the read only flag.
The executable flag cannot be set as Windows determines it based on file extension.
The write flag cannot be set as Windows determines write access based on ACLs, which are not
integrated here.
----
Server IP: 45.112.84.4
Probable Submitter: 38.142.137.34 (proxied: 65.26.220.245)
----
Manual Page -- http://php.net/manual/en/function.chmod.php
Edit -- https://master.php.net/note/edit/124784
Del: integrated -- https://master.php.net/note/delete/124784/integrated
Del: useless -- https://master.php.net/note/delete/124784/useless
Del: bad code -- https://master.php.net/note/delete/124784/bad+code
Del: spam -- https://master.php.net/note/delete/124784/spam
Del: non-english -- https://master.php.net/note/delete/124784/non-english
Del: in docs -- https://master.php.net/note/delete/124784/in+docs
Del: other reasons-- https://master.php.net/note/delete/124784
Reject -- https://master.php.net/note/reject/124784
Search -- https://master.php.net/manage/user-notes.php