From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.jhmg.net (smtp.jhmg.net [45.55.176.36]) by sourceware.org (Postfix) with ESMTPS id 3DF943858C39 for ; Mon, 27 Dec 2021 22:45:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3DF943858C39 Received: from [192.168.10.7] (c-73-11-123-33.hsd1.or.comcast.net [73.11.123.33]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.jhmg.net (Postfix) with ESMTPSA id 96EA34010A for ; Mon, 27 Dec 2021 17:45:16 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.jhmg.net 96EA34010A Message-ID: <2eef10a5-ad9b-a663-6fe4-896e3805b8ba@jhmg.net> Date: Mon, 27 Dec 2021 14:45:17 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.4.1 Reply-To: jhg@acm.org Content-Language: en-US To: cygwin@cygwin.com From: Jim Garrison Subject: git and filemodes Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2021 22:45:18 -0000 Win 10 20H2 with latest Cygwin $ cygcheck -c cygwin git Cygwin Package Information Package Version Status cygwin 3.3.3-1 OK git 2.34.1-1 OK $ git diff .gitignore warning: LF will be replaced by CRLF in .gitignore. The file will have its original line endings in your working directory diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 But $ ls -l .gitignore -rwxrwx---+ 1 Administrators None 84 Dec 15 16:30 .gitignore So it appears the actual file is mode 0770, not 0755 as git is claiming. Am I misinterpreting something here? If not, why does git think the mode is 0755?