delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/24/18:15:10

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF5BF3857C5F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1608851667;
bh=E5wMsAhKlb36I946P0kKSU9uBkyim55OOXGJovm7Oxk=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=GSNhz2tqqq7dVbhNQORlVw4ixrASGcXtUn9/WXf6XPrlwaHahaRjfe3MqpA78nn3Z
a+wJ0qYBnMPoJ2uEWUTUod0W2WwfoN2fp5fPO/2Lxa4uylv+5XxJGes2okFkDVUHwK
FSebeP7kzyX0MYOrXAp4OBMAR2IS2UqbvO8LgJUM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 323273857C5F
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=TXtlLnz8DDrLQYbeakaUCM1UwRrFoGVHoNmeid6jd5FXb+BhX8dbrP1CnoC/Lpi1adblt8m71J7eANAn0V93jrVaOL29s+J1UiooaOAu2JaVTmJyl7rhSc5K/LJTqYMD8jTnjCHiKpFkrFZYj7hYT6WE/+EMTmixRx1W7X3qNx99OqrDcgbmpcnP8zruMPcHhU9lqEKA5uqqc3zUJ7Tgse1RoAXByXTAbjq/tETGDsRAtuAZu0Cn7sCFHuy3awcGR+4BH9H36+RXXe14wjsfYnNKQgBlB4jyH/htMg/ZRi6xVMlAIm/Lu2mQd3F1k7XjSG/UtM2IG20NlUPwx0u9bw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=1HZsVbnkjWgwXPKWlkDrcpB2i84aUWGnXikE5NSwDvY=;
b=dSf29C20ug0d48T8tZGGASxP/6o8sgf/qNYgOyYy+cSNMjaorM/gg3A4VsY0U5FJIDMwDK08BKMvFs+1OHm3uDOeHe6VOq1qd8vMEcClYpSU3R99qJHgeah5vlnp1Z2bn9rL8FHOeQhXqKHIZOkzatP06mW/b80bso5oXPRlYaMFL5eVyO94m+4VJv9+7k4RmMU9UYiCpLnPL2TFqimtfZZHvRNsHF4A8Oag14LfFKn1az065FPELron3XvJQoTV+P95UgxqFIyJU2ncMD7DnZjRjDhWo5lbH48xcAnzCCr1f/1dTcu4VgtnX5Ry6IpVmslyhwB/YWZd06FmemH31g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: Another chmod issue on 3.1.7, Win 10.
To: cygwin AT cygwin DOT com
References: <62106326e8b2faf64aedb194c8fc7a3d AT mail DOT kylheku DOT com>
Message-ID: <54ddafd7-be92-9e9a-f675-807fb73ad29b@cornell.edu>
Date: Thu, 24 Dec 2020 18:14:18 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.5.1
In-Reply-To: <62106326e8b2faf64aedb194c8fc7a3d@mail.kylheku.com>
X-Originating-IP: [65.112.130.200]
X-ClientProxiedBy: BN9PR03CA0059.namprd03.prod.outlook.com
(2603:10b6:408:fb::34) To MN2PR04MB6176.namprd04.prod.outlook.com
(2603:10b6:208:e3::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 78099765-3993-46bf-f889-08d8a861a492
X-MS-TrafficTypeDiagnostic: MN2PR04MB5903:
X-Microsoft-Antispam-PRVS: <MN2PR04MB5903569310F388F3524E9809D8DD0 AT MN2PR04MB5903 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:8273;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: wRdwLPfmD0c8s/FH/gweb+5BQGgKZ5Y/nFbwLkG6dA/EhSRCIQmMKtYGUm73YxHz2QNw+Wr8ozqS0owrrdMjQq6SNxUGxHYeaFGoT623YBzwrxI8aFi/I9MneTL22BgzC64yHiBf1MIfmgvGv2PEpbLBreiisgBfvtjrG4oODrFv587BjmMIp4Z0RjiXGvXsoQCyb9IvPdrqu/ySBI0RbMCg9Zr0O7Jb5oXt1R/7Hcgs380KYgw/YmeqpP6yAz0VCE8jBnhWQnEap/oYJSDdwb/nxYE8cCzOjAMFC4DnEWEACdLHCvnEE3O8W5PtwGL5LBkd92/62WCyLxsYBTRo/I8jqZmfJfDeJtyynQAS0ue2rr94i5LYvjRl4jLH9b8kwuf5mL57gzG7ccNeyZlsgYJlvLlrvUKNjT8TjNiCfQgD9pwSqBvVb4bhCdV5+V7JA4LooKQpSbLdei7DpE7n4po6lVszy6mPbH96xi2YA4E=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(376002)(366004)(39860400002)(136003)(346002)(396003)(31696002)(956004)(66556008)(66476007)(86362001)(53546011)(66946007)(52116002)(6916009)(478600001)(316002)(2906002)(5660300002)(31686004)(8936002)(16576012)(26005)(83380400001)(36756003)(6486002)(16526019)(2616005)(786003)(66574015)(186003)(75432002)(8676002)(43740500002)(45980500001);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: =?Windows-1252?Q?Zks90MJXteAexkyt2r/Yil0qsN+kE5dEUwPGSm2VqrOTdJN3nJLKHiTz?=
=?Windows-1252?Q?BiB1XH9gTCyjWWcOa11VFwJq0/cVt0rJAOIvNEeF/XAtd0iIpxbX63B6?=
=?Windows-1252?Q?VWFCC6j9c3pCFraB9feDgZ84Opd43hjqyrdL8sb/tw+Xlf5c9y+xv4LR?=
=?Windows-1252?Q?U8debdU51lJ02IusjaoGPekVU6i7abNHS0q0vQfv29C1xCteBtVNd6MN?=
=?Windows-1252?Q?rkemwMa6FU08pE2ZoG8OC64BEcQV+eQ2p6+qnH6+ZWPFk37njNixWMhS?=
=?Windows-1252?Q?ggBbMikodKbGqZwlJa4N6AWklIHVNEVpVM2U0JGTURq2+dMfqKU92frk?=
=?Windows-1252?Q?RoJdNYGBHtiq/8lhKog9p0yz9eeLWxuEKLOnZMUWOiuznNpS4cMJ59nV?=
=?Windows-1252?Q?YdspYs2kOwoYwjUejFZlljKdoUOEyJt86/uzYIxKxysCeW0nHkhDk03M?=
=?Windows-1252?Q?MUg0DHwIW0nH7sLbIspOLGdu/0bqHn/H2J2EkEn9mtZXzsM2kI3sIH8R?=
=?Windows-1252?Q?B6bsIC1DDGSYpOYGSY21lwGDsVG4euuhVotwnC46K5n09soVMp5A9d3g?=
=?Windows-1252?Q?qfP87jbThKp8whm6sfZ4/vCr2F3y82kxITplLtEEtQn7OtQeIz3wyOQw?=
=?Windows-1252?Q?u8nf4Nt+VnCHwhfJETW3i5bfzvkJpQ6dxdT6BGk2zC8bsF/p+EjcSVdl?=
=?Windows-1252?Q?naJhHw1gbyzI3ZYfDL2pzMnBZSN5XcGp/uqwf/UpVf/hEDOZqtflo4IH?=
=?Windows-1252?Q?vX0K/iB9UsdtvW4GkHUokg91pmi9KyCl2YVdB66b1Zu7iwA68P9+4728?=
=?Windows-1252?Q?YrEs5q2xCSB1U3ngmoD+HV47kKdaO0RNu7PL/Te6WeNdhQyp+z/r+Nbn?=
=?Windows-1252?Q?KbRtP4Y1hv7K3OCT6T28sOV0iq83des+kukwfOt84E9zY2q6NEpgk/aX?=
=?Windows-1252?Q?oracem7MkI4KdUOT+7i30B3dv/soOcDn3YuyHi8Wi66SJly8Mj3xsMwf?=
=?Windows-1252?Q?RWzg+LHiV9XpYVtMbaD2tEwxomLjyFDEMUP8mFb/bLI9hhPl+6cQPJUZ?=
=?Windows-1252?Q?YXWvX6/9TGoaUeF0?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2020 23:14:19.8584 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-Network-Message-Id: 78099765-3993-46bf-f889-08d8a861a492
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: H1RiUpe2rrSw0DgNKq5WlIWaNC2btDoXaJY+r+3OEMRwveEu7LM/DedqizgyWVWatohZMsIgBL+ZzjfH0mNpOQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5903
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_INVALID,
DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0BONEqWu022952

On 12/24/2020 4:30 PM, Kaz Kylheku via Cygwin wrote:
> Initial conditions:
> 
>    0:BLACKBOX:~/txr$ rm testfile
>    0:BLACKBOX:~/txr$ touch testfile
>    0:BLACKBOX:~/txr$ chmod = testfile
>    0:BLACKBOX:~/txr$ ls -l testfile
>    ---------- 1 kaz kaz 0 Dec 24 13:23 testfile
> 
> Now, light up all the bits, like a Christmas tree---appropriate
> for December 24:
> 
>    0:BLACKBOX:~/txr$ chmod ugo+rwxs testfile
>    0:BLACKBOX:~/txr$ ls -l testfile
>    -rwsrwsrwx 1 kaz kaz 0 Dec 24 13:23 testfile
> 
> Well, almost all the bits: I didn't add "t", but it makes
> no difference. Anyway, so far, so good. Now, punch a hole in
> the group permissions:
> 
>    0:BLACKBOX:~/txr$ ls -l testfile
>    -rws---rwx+ 1 kaz kaz 0 Dec 24 13:23 testfile
> 
> No idea what that + is hinting at, which indicates a problem.

No, it doesn't indicate a problem.  It just means that there's an ACL involved 
in determining the actual permissions.  Do an internet search for "ls plus sign" 
for more information.

> But the group perms did get masked out. Let's keep going to the
> main problem: repeat the second step to turn on all the bits:
> 
>    0:BLACKBOX:~/txr$ chmod ugo+rwxs testfile
>    0:BLACKBOX:~/txr$ ls -l testfile
>    -rws--Srwx+ 1 kaz kaz 0 Dec 24 13:23 testfile
> 
> What??? The expected perms are "-rwsrwsrwx". It did not set the group read
> or write at all, and that funny  + is still hanging around.

I suspect this is the same owner/group issue that I suggested in my reply to 
your other message.

Ken
--
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