X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5651B385843B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1640645185; bh=/j63b8vZ8w6t4PML1Ze2p8A235QyCYTmQPzT5680laI=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=UGhnhRKkdpbyKvcRG00GF1eLE8qezJeiaPsmYr7GicUarllVGJBjHuBfL7GJ3CUgg gBntivfcA9WdUyvUYVODcC814DqIYliSbxPbYDM1f+zfeNnvSiX9vbz1Wt23wuyeZF 7eQdt3yJoe3pDMKR4NW/NghgttxolO5P4TPOvofs= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3DF943858C39 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 Content-Language: en-US To: cygwin AT cygwin DOT com Subject: git and filemodes 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Jim Garrison via Cygwin Reply-To: jhg AT acm DOT org Cc: Jim Garrison Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" 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? -- 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