This is the mail archive of the
mailing list for the Cygwin project.
Updated: Cygwin 2.4.0-1
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-announce at cygwin dot com
- Date: Sat, 16 Jan 2016 12:55:56 +0100
- Subject: Updated: Cygwin 2.4.0-1
- Authentication-results: sourceware.org; auth=none
- Reply-to: The Cygwin Mailing List <cygwin at cygwin dot com>
Hi Cygwin friends and users,
I released another version of Cygwin. The version number is 2.4.0-1.
At long last, this is the first official release introducing the new
unified implementation of POSIX permission and ACL handling first
written early 2015 and eventually in testing since September.
Apart from that major change, there are a couple of minor changes,
not the least of them the introduction of a new mount type called
"usertemp". It's described in more detail in the updated User's
Guide at http://cygwin.com/cygwin-ug-net/. It's main purpose is
better supporting Git for Windows.
Enough talk, here's the list of the important chages in this release.
- 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 mount type "usertemp" which allows to mount a POSIX directory to
the Windows per-user temporary directory.
- cygpath has a new -U option, which creates cygdrive paths using the
unambiguous /proc/cygdrive prefix.
- New API: rpmatch.
- Align setfacl(1) usage a bit closer to the usage on Linux. Rename -d option
to -x, --substitute to --set. Add --no-mask and --mask options. Allow to
use the -b and -k option combined to allow reducing an ACL to only reflect
standard POSIX permissions.
- Fix (numeric and monetary) decimal point and thousands separator in
fa_IR and ps_AF locales to be aligned with Linux.
- utmpname/utmpxname are now defined as int functions as on Linux.
- Not a bug fix as such, but a workaround for new behaviour in Windows 10
version 1511 64 bit. This version introduces a problem which existed in
a similar variation (just vice versa) in XP and Server 2003 64 bit as well.
An unexpected stack arrangement when starting a 64 bit Cygwin application
from a 32 bit application (e.g. 32 bit CMD.EXE) broke Cygwin's fork.
- Replaced old, buggy strtold implementation with well-tested gdtoa version
from David M. Gay.
- Fix handling of relative paths in native symlinks if the target is in a
drive's root dir or one level below.
- Fix a SEGV when calling `kill -l 0'.
- Fix a race condition in signal handling.
- Fix a potential crash reading invalid passwd and group entries from
/etc/passwd and /etc/group.
- Cygpath(1) now tries to correct the case of system directories when
returned as POSIX paths.
- *Always* zero out descriptor arrays when returning from select due to
timeout, per POSIX.
- Return unique inode numbers when calling stat/fstat on pipes and IP sockets.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com