www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/18/06:18:34

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=MSQHaHuYMOGZOy0EQkB+A+3JOl7woy7enzvWeXdcyV18Wj310yClG
PmOm5CRf5TsG5PMMLt84lwSo6wLoAEWrf6lcH4JbCCsmzOBQqGkchqB+DtWPjNqN
L5H7noAHwg1Ij2FGUvXU5LWjR59nRUHIpAfYsJzkeryZTTAM7qNh1U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=qwWQ/bp72D0AWIExxYdYXjrDurA=; b=EiDTpZdlPUDSBJ5c5hTwkaZyYBRy
PEeibxnb4RFzxGCoDuGHxiAnlzAEKo9yimDsTiNXgigG6Sme52mQbPWhQaQ/PBpH
px9BHwlkXXGSWLv85OyYGZTj0YlQ4BCZe2Vy0+8/g7xxCfVfwo/l6B+5XDXJyH8u
Y6nsdaD4fsGnxQQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-94.7 required=5.0 tests=BAYES_20,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=Permissions, H*MI:sk:5712F22, H*f:sk:5712F22, Hx-languages-length:1188
X-HELO: calimero.vinschen.de
Date: Mon, 18 Apr 2016 12:18:03 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Permissions change concern
Message-ID: <20160418101803.GM24565@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5712F224 DOT 7070308 AT cs DOT umass DOT edu>
MIME-Version: 1.0
In-Reply-To: <5712F224.7070308@cs.umass.edu>
User-Agent: Mutt/1.5.24 (2015-08-30)

--AYsPlKobQGgtCvjI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 pai=
n).
> [...]
> The specific behavior I get is that chmod 644 on the file has no
> effect on the file's permissions - they stay at 774.
>=20
> 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

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

--AYsPlKobQGgtCvjI
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXFLRbAAoJEPU2Bp2uRE+gIEEP/RuLwiug0en2wDBj8hFhpqS1
6q8qrodmT4rspF3i3X7SaHKQHij67uTHeSnyavUh0JiDQsRPJK45NaG7AxhMG5JY
YP780fnE0kMfbeCNqlzmg7OIAkykSR7gTIjb73EYtBWcrvqfFgG2NF/GVJKi7HNh
yL3J34iFpSC81mx2iKk+M9IRs9mGIKKTLu17ewOxvqgytcD91mvyoFV0N1g4vpDq
Q5YcEYDSrTxmLOMmqxSb466VqIqh8dr+u1l0kefttHtJLUuENLbAn19wM3/iahKZ
J3mw5QoiSViyb6P0ARgQlNgnFtDkavbfksOhZqcwAj06OcxBfFkF8lKT0D0BQAhe
wjOhl7tgzg5nZ/2hLl4/2Nkbv1c07OmL5tLleK5U+EJR9NZVZA8BHYLh6M/mjI4b
6bvCQ4paAzP1/9nm5JU46SvzZAp/0Z9OFo9gKWLZ++X1iiDXIrJ6xqGAfrZZSbRv
1YL39g9e5pNtNUYvX5ZUn6t72iZJzDfFfaUrZ0I+fIri8EIt44akRJZ/0sSsBWdA
OtR10URZgFyKJ1A/hrqVj5SNjwwvIcxOLklOMqcnmzlGo7R0PTQyyouunMwCvwL5
1XNFq3B+y806fExnHr3lLXiQBlXISn+c9GO2E7oNcfEkb0yBLOOE0KDK4W8yksfU
qAlFCI3BHM47D9w7oKEF
=vlml
-----END PGP SIGNATURE-----

--AYsPlKobQGgtCvjI--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019