[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Fix #81179: fileperms() return wrong access information
From:       "Christoph M. Becker" <noreply () php ! net>
Date:       2021-06-21 13:00:22
Message-ID: N11NQn4En5DyB0kK69KjFF1C93SEDRI5p08x9FCJfM () main ! php ! net
[Download RAW message or body]

Author: Christoph M. Becker (cmb69)
Date: 2021-06-21T15:00:16+02:00

Commit: https://github.com/php/doc-en/commit/1f7d8b1ee9e6c7350857ddc8bfce248a65a29787
Raw diff: https://github.com/php/doc-en/commit/1f7d8b1ee9e6c7350857ddc8bfce248a65a29787.diff

Fix #81179: fileperms() return wrong access information

Changed paths:
  M  reference/filesystem/functions/stat.xml


Diff:

diff --git a/reference/filesystem/functions/stat.xml b/reference/filesystem/functions/stat.xml
index 02f9764262..6e3bbd5e7a 100644
--- a/reference/filesystem/functions/stat.xml
+++ b/reference/filesystem/functions/stat.xml
@@ -70,7 +70,7 @@
       <row>
        <entry>2</entry>
        <entry>mode</entry>
-       <entry>inode protection mode</entry>
+       <entry>inode protection mode *****</entry>
       </row>
       <row>
        <entry>3</entry>
@@ -145,6 +145,11 @@
    which is a 64-bit <emphasis>unsigned</emphasis> integer, so may overflow.
    Previously, it was always <literal>0</literal>.
   </para>
+  <para>
+   ***** On Windows, the writable permission bit is set according to the read-only
+   file attribute, and the same value is reported for all users, group and owner.
+   The ACL is not taken into account, contrary to <function>is_writable</function>.
+  </para>
   <para>
   The value of <literal>mode</literal> contains information read by several functions. 
   When written in octal, starting from the right, the first three digits are returned by

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic