delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/02/10/13:42:34

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE1183851402
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1676054507;
bh=sGgutE1ktJkB6eo6s3LVcrdiGawvlTMzgL/watGFkXY=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=JopIl0y8ImUU7cMDizpHy7Yg2jUK5StzB+vZdCb7Y4yfwYTmsCUUPcXDbBJxAEGqd
9XcplsWeB4xBrFtCdc+o/sfy5BUnZkUJbMvQ2xwx4B7VdYiHQREpn0IGUKorMu4yEA
OLW23lyb3KkdmYloDV6b+o3Rc5AGAD7AoQchULm4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
Date: Fri, 10 Feb 2023 19:41:26 +0100
To: Norton Allen <allen AT huarp DOT harvard DOT edu>
Subject: Re: chmod g+ws unsuccessful, "NULL SID" icacls missing
Message-ID: <Y+aP1jATyXJ6hs7n@calimero.vinschen.de>
Mail-Followup-To: Norton Allen <allen AT huarp DOT harvard DOT edu>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <0219f7c5-ca4c-bae3-3e13-abfc14c53e01 AT huarp DOT harvard DOT edu>
<8af5a564-094f-e4eb-25b4-bed2b9294f39 AT huarp DOT harvard DOT edu>
<Y+VhGwpEkYx2TEMR AT calimero DOT vinschen DOT de>
<1edf29a6-9fec-2964-cf99-e722e3121f4f AT huarp DOT harvard DOT edu>
MIME-Version: 1.0
In-Reply-To: <1edf29a6-9fec-2964-cf99-e722e3121f4f@huarp.harvard.edu>
X-Provags-ID: V03:K1:HOewtyWqhIOkAdRxw6lKM9061MOCehorkvEXCRGLw4v0lBxlwwE
NlnkokbqeIEC0VVK7Ry6FqM3frDNWyvfNwGAE6EC5NQFaqZEnFFoOLMNoYqvlIvUXa9yCgS
l+hyOURWE26Ib5ZhgwlrrUtGLKB9TDPmfm1LLftPAcIpX4BABznbnLZheNWAUJkL9vF55MB
Oyfy749fx5+SYVfzV19zw==
UI-OutboundReport: notjunk:1;M01:P0:An1IIUBgGnA=;ONVM4loPdIbw0WwJd9T9xXDSOt7
A6WCeWdrBcw2/dRgQX+yhs59ODGJrdiLSuRWmI4bm21UgR21iANxaSYAb2TzEA61RF4j0NQc9
MHshgDiyA4TdXC1wjv/tKv5YeAv3qyRX9ufoZ8pLZx1NhqOXIE9n/cQsyoEqimC+/rWd8MVuH
fPLjdG/q0gg6LgWy63q45Pd7qPIIkkv1E0enP2kKjDFoci/w3XCtSj6cmVx80m4NvYn6rxCPE
Uyrt+n8zV+HC4x+H/GqZdlgw3hiF3JckGH3c4f82Mk6KmoCT1M6OXQoO/hz+yQldwdtkWfNED
Pqe8/LKJNynBlZIcUL0eLGsdJfiLs02en34U3tx4s7sZ/xykRXeS0eeAuBkW4iRlZMCE9JGJP
oEmitnnuYTNep4VkfdAx1DYrg9Dv7sx16iWZVE8jx8y1Ovv5ms0suhpPSqf4XwWaxAREv8sie
EgEGwYlGEgYetBl2qIX4z36xPSpexnhEuKzNmhASUClnLAG1GuLNtm7lB3VHjxV+pPWVLJ+ls
peqENE17AmlniDLRzGFSgIguH/JKG+o/naVvU1tNx3KO1mfER5B2lBjHzECSpeqlK5Z+BypI0
Pa2RaZx+GpYUrWcYJ9YLsgaEXN2IrpxFC3xp8SrWuSFnosNgIsS5qYC64B6YN0amzIU/7pLvK
dJLzesGNB1gBCmbeH3F07OdSjXeu3OHwNB9pKSLlkA==
X-Spam-Status: No, score=-97.3 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_FAIL, SPF_HELO_NONE,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Feb 10 11:42, Norton Allen via Cygwin wrote:
> On 2/9/2023 4:09 PM, Corinna Vinschen wrote:
> > On Feb  9 13:25, Norton Allen via Cygwin wrote:
> > > On 2/8/2023 4:05 PM, Norton Allen via Cygwin wrote:
> > > > [...]
> > > > The problem:
> > > > 
> > > > $ chmod g+ws fails to set the 's' bit, and the resulting icacls output
> > > > does not contain any "NULL SID" entries. I am seeing the same problem on
> > > > (at least) two different systems setup by my organization. One of these
> > > > was just re-imaged and I installed Cygwin yesterday with no customized
> > > > configurations. AV is Windows Defender, but I suspect if that were the
> > > > culprit, there would have been more noise.
> > > > [...]
> > > [...]
> > > Any idea what g+s should be doing? Any more/better information I can
> > > provide?
> > What you observe is a bug in Cygwin, plain and simple.  Without going
> > into too much detail, part of the problem could never be observed with
> > older coreutils, which we had to live with for much too long in the
> > Cygwin distro.  The newer coreutils handles permissions slightly
> > differently and that dropped the mask from the buggy code.
> > 
> > I applied a patch which, hopefully, fixes this problem (in fact, plural,
> > "these problems").
> > 
> > A new Cygwin test release 3.5.0-0.162.g498fce80ef33 is just being built
> > and should be up in an hour or so.  You can simply install it via
> > Cygwin's setup tool as soon as it's on your favorite mirror.
> > 
> > If it works as desired, it will be part of the next Cygwin bugfix
> > release 3.4.6.
> 
> Corinna,
> 
> The fix seems to work like a charm! And I am happy to be wrong about the
> source of the problem.

Great, thanks for testing!


Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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