From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Windows10 with MSYS2 shell: Can't erase directories from Emacs' git repo tree Date: Wed, 10 Nov 2021 05:25:58 +0200 Message-ID: <83h7ck4rp5.fsf@gnu.org> References: <86ee7p2f5d.fsf@duenenhof-wilhelm.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16189"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 10 04:26:29 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkeFo-0003xs-DO for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 10 Nov 2021 04:26:28 +0100 Original-Received: from localhost ([::1]:46422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkeFm-0007uv-NL for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 22:26:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkeFR-0007uj-2v for help-gnu-emacs@gnu.org; Tue, 09 Nov 2021 22:26:05 -0500 Original-Received: from [2001:470:142:3::e] (port=42272 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkeFQ-0000fc-Qt for help-gnu-emacs@gnu.org; Tue, 09 Nov 2021 22:26:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GMvCpTMkcufpWvXQ4UeeQe7t3PERG/km8yMELIJaG8s=; b=VxPOqVlh3YAR p2YxINX82Y9pieBlfTJX2jPpJXDYfU2WyjX+t40TeU9+ch0aHvxVq6ZkpATPlGc1Y9IbJM/bdPori m+HSegMknFMLFSvQoqHs0GKu3U56hJywrYPWkBg7AwibJLahYTBc19dRmrHColBdo+FP9kWgpMaN7 dTlPUDmXvKBOfwvHG/iCXURg5fuql/n34yo3076yWxhQRYKLU9HbPi1jDG0q1QAEAK66iNwDWxwre DE6SHn7SodW6Ly0528KaHQk6iW6h/gT37MIhNQltNlMi3DhRXs5DEzaxlC9VWzVnMscF1OJjLIYFz AgeMq8lx03gmg0/mdhwEPA==; Original-Received: from [87.69.77.57] (port=2008 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkeFQ-0006xW-EV for help-gnu-emacs@gnu.org; Tue, 09 Nov 2021 22:26:04 -0500 In-Reply-To: <86ee7p2f5d.fsf@duenenhof-wilhelm.de> (dieter@duenenhof-wilhelm.de) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134468 Archived-At: > From: "H. Dieter Wilhelm" > Date: Tue, 09 Nov 2021 22:27:42 +0100 > > I created a git clone of the sources, added some worktrees, changed the > contents of one file. And decided to start anew but now I can't delete > all folders of the repo, Windows says I would need admin rights to > remove the remaining folders! (The files in the tree are gone but not > all folders.) When I'm looking at the properties of the remaining > folders it says they are all write protected and nobody is allowed to > remove the folders! It seems the only thing I can do it to rename these > folders. > > Is this a known problem with Windows10? No. But you didn't describe what you tried to do in enough detail to understand what could be the problem in your case. Please add a more detailed description, including which folders cause the problem. Also, what is your Windows user? is it, per chance, Administrator? What does Emacs say about the owner and the group of those problematic folders?