]> sourceware.org Git - newlib-cygwin.git/commitdiff
cygwin: doc: Add keywords for ACE order issues
authorDavid Macek via Cygwin-patches <cygwin-patches@cygwin.com>
Wed, 13 May 2020 15:34:06 +0000 (17:34 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 19 May 2020 09:42:02 +0000 (11:42 +0200)
Windows Explorer shows a warning with Cygwin-created DACLs, but putting
the text of the warning into Google doesn't lead to the relevant Cygwin
docs.  Let's copy the warning text into the docs in the hopes of helping
confused users.  Most of the credit for the wording belongs to Yaakov
Selkowitz.

Latest inquiry: <https://cygwin.com/pipermail/cygwin/2020-May/244814.html>

Signed-off-by: David Macek <david.macek.0@gmail.com>
winsup/doc/ntsec.xml

index 08a33bdc6cab9a8a0c2d6cf2cae8a7a6c18fb029..d089964660df2d3d8ea2ceb8c7230d3c7981f660 100644 (file)
@@ -2159,11 +2159,13 @@ will correctly deal with the ACL regardless of the order of allow and
 deny ACEs.  The second rule is not modified to get the ACEs in the
 preferred order.</para>
 
-<para>Unfortunately the security tab in the file properties dialog of
-the Windows Explorer insists to rearrange the order of the ACEs to
-canonical order before you can read them. Thank God, the sort order
-remains unchanged if one presses the Cancel button.  But don't even
-<emphasis role='bold'>think</emphasis> of pressing OK...</para>
+<para>Unfortunately, the security tab in the file properties dialog of
+the Windows Explorer will pop up a warning stating "The permissions on
+... are incorrectly ordered, which may cause some entries to be
+ineffective."  Pressing the Cancel button of the properties dialog
+fortunately leaves the sort order unchanged, but pressing OK will cause
+Explorer to canonicalize the order of the ACEs, thereby invalidating
+POSIX compatibility.</para>
 
 <para>Canonical ACLs are unable to reflect each possible combination
 of POSIX permissions. Example:</para>
This page took 0.100259 seconds and 5 git commands to generate.