From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-108-mta204.mxroute.com (mail-108-mta204.mxroute.com [136.175.108.204]) by sourceware.org (Postfix) with ESMTPS id BE1593858C27 for ; Sat, 7 May 2022 15:00:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BE1593858C27 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pdc.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pdc.ca Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta204.mxroute.com (ZoneMTA) with ESMTPSA id 1809f09a680000926a.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sat, 07 May 2022 15:00:51 +0000 X-Zone-Loop: b0674d67bf7faafa32705c725b0e640dd14a603a58bf X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pdc.ca; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID: Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=4CBSMaCY2VeeVsWsueVyNhofmkCuAhB5b0fo94z2oYs=; b=s UH+dq5hstf4yLXiEgO/JOLompu3/7OPimmHZFm6KDOLty7Mkr29XY0F2mRdniotgHwK8nskYRaeid OAwe/+eH1oAXQVUz4xkkZm+H0oHa80cZMfWRatSP2mdg3gn7lt6mSHtlDcTpn1Nk1APgHhDPFjdCF BkmmAdumlaXSYq5+5bh57ZrjJnoFKzaABYfm3vBT1ZN/uxI71k3aAqFSRSN2tgYF+Y3v9AWci3QLK UNGqpDLUdim4XCal12MjM3DsolD0nPqSumMdOsjWjxjaWVvVfl0bOsSRXQTo3I8Bs3cTl5S0p8U/s caywzdEf5WZR0tgctK4zhJhHih7mabBFg==; To: cygwin@cygwin.com From: Brent Epp Subject: Permissions issues after installing Windows 10 Message-ID: <26dc3119-0f36-1331-1403-9e994a697d89@pdc.ca> Date: Sat, 7 May 2022 10:00:06 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-AuthUser: brent@pdc.ca X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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: Sat, 07 May 2022 15:00:56 -0000 I recently (finally) installed Windows 10 on my system (clean install).  All of my files are stored in on a secondary drive/partition, on which cygwin is also installed.  I expected to be able to just pick up where I left off, but I'm getting all sorts of permissions issues with cygwin.  I did run the cygwin setup again to reinstall/upgrade. First, I had restore my cygwin home directory from a backup, since it was giving me permissions errors on .bash_history, .ssh, etc, but the biggest headache is with git repos.  First, it gives a "fatal: unsafe repository" error.  If I add it to the safe directories list, it git still has to reindex the repo every time I run `git status`, and it still fails when I try to enter a commit. It seems most or everything is owned by "Administrators".  The only way I've been able to fix this is to go through the Windows advanced permissions dialog, change the owner to my user, and set all sub-objects to inheritable permissions, but I'm very leery about mass changes like this. Why did this happen?  And is there a better/safer/correct way to fix this? Thanks  - Brent