This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Permissions change concern


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
https://cygwin.com/snapshots/.

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.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]