]> sourceware.org Git - newlib-cygwin.git/commitdiff
Document new ACL code
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Nov 2015 22:11:10 +0000 (23:11 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Nov 2015 22:11:10 +0000 (23:11 +0100)
* new-features.xml (ov-new2.4): Add new ACL changes.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/release/2.4.0 [new file with mode: 0644]
winsup/doc/ChangeLog
winsup/doc/new-features.xml

diff --git a/winsup/cygwin/release/2.4.0 b/winsup/cygwin/release/2.4.0
new file mode 100644 (file)
index 0000000..480b612
--- /dev/null
@@ -0,0 +1,36 @@
+What's new:
+-----------
+
+- New, unified implementation of POSIX permission and ACL handling.  The
+  new ACLs now store the POSIX ACL MASK/CLASS_OBJ permission mask, and
+  they allow to inherit the S_ISGID bit.  ACL inheritance now really
+  works as desired, in a limited, but theoretically equivalent fashion
+  even for non-Cygwin processes.
+
+  To accommodate standard Windows ACLs, the POSIX permissions of the
+  owner and all other users in the ACL are computed using the Windows
+  AuthZ API.  This may slow down the computation of POSIX permissions
+  noticably in some circumstances, but is generally more correct.  The
+  new code also ignores SYSTEM and Administrators group permissions when
+  computing the MASK/CLASS_OBJ permission mask on old ACLs, and it
+  doesn't deny access to SYSTEM and Administrators group based on the
+  value of MASK/CLASS_OBJ when creating the new ACLs.
+
+  The new code now handles the S_ISGID bit on directories as on Linux:
+  Setting S_ISGID on a directory causes new files and subdirs created
+  within to inherit its group, rather than the primary group of the user
+  who created the file.  This only works for files and directories
+  created by Cygwin processes.
+
+- New API: rpmatch.
+
+
+What changed:
+-------------
+
+- setfacl(1) now allows to use the -b and -k option combined to allow reducing
+  an ACL to only reflect standard POSIX permissions.
+
+
+Bug Fixes
+---------
index 8c929774cbd0f81c908e64b6c287ad89259c4e77..f20a72daffd00eae6bf79d260742713fbb2b58fe 100644 (file)
@@ -1,3 +1,7 @@
+2015-11-18  Corinna Vinschen  <corinna@vinschen.de>
+
+       * new-features.xml (ov-new2.4): Add new ACL changes.
+
 2015-11-18  Corinna Vinschen  <corinna@vinschen.de>
 
        * utils.xml (setfacl): Accommodate -b/-k change.
index 059609a20790c51d5b2f20e8dcb0de11a224c10e..ff8c036592faa6c7f2f9e5b22bc6e97b70597874 100644 (file)
@@ -8,6 +8,29 @@
 
 <itemizedlist mark="bullet">
 
+<listitem><para>
+New, unified implementation of POSIX permission and ACL handling.  The
+new ACLs now store the POSIX ACL MASK/CLASS_OBJ permission mask, and
+they allow to inherit the S_ISGID bit.  ACL inheritance now really
+works as desired, in a limited, but theoretically equivalent fashion
+even for non-Cygwin processes.</para>
+
+<para>To accommodate standard Windows ACLs, the POSIX permissions of
+the owner and all other users in the ACL are computed using the Windows
+AuthZ API.  This may slow down the computation of POSIX permissions
+noticably in some circumstances, but is generally more correct.
+The new code also ignores SYSTEM and Administrators group permissions
+when computing the MASK/CLASS_OBJ permission mask on old ACLs, and it
+doesn't deny access to SYSTEM and Administrators group based on the
+value of MASK/CLASS_OBJ when creating the new ACLs.</para>
+
+<para>The new code now handles the S_ISGID bit on directories as on Linux:
+Setting S_ISGID on a directory causes new files and subdirs created
+within to inherit its group, rather than the primary group of the user
+who created the file.  This only works for files and directories
+created by Cygwin processes.
+</para></listitem>
+
 <listitem><para>
 New API: rpmatch.
 </para></listitem>
This page took 0.039109 seconds and 5 git commands to generate.