Permissions change concern

Corinna Vinschen
Mon Apr 18 10:18:00 GMT 2016

On Apr 16 22:17, Eliot Moss wrote:
> Dear Corinna (et al.):  I have set up to use a separate group that I call
> Cygwin for files in my cygwin tree, and in the recent past have been able to
> apply chown, chgrp, and chmod effectively.  With the latest version, chmod
> fails to change permissions, though I can change them with setfacl (a pain).
> [...]
> The specific behavior I get is that chmod 644 on the file has no
> effect on the file's permissions - they stay at 774.
> So, has something in cygwin "broken", or is there some setting I
> should be doing a different way?

It's broken.  I added a small code snippet in 2.5.0 which was supposed
to avoid writing a NULL SID ACE in case the POSIX permissions are simple
enough.  The condition under which to write the NULL SID ACE was...
uhm... not well thought through.

I applied a fix and I built new developer snapshots available on

Please give'em a try.  Since I'm going on vacation end of this week,
I intend to provide a fixed 2.5.1 ASAP.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the Cygwin mailing list