From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.help Subject: Re: Windows10 with MSYS2 shell: Can't erase directories from Emacs' git repo tree Date: Fri, 12 Nov 2021 07:55:47 +0100 Message-ID: <86r1bluaks.fsf@duenenhof-wilhelm.de> References: <86ee7p2f5d.fsf@duenenhof-wilhelm.de> <83h7ck4rp5.fsf@gnu.org> <87mtmanwxg.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="632"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 12 08:13:25 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 1mlQkW-000AVQ-Ri for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 08:13:24 +0100 Original-Received: from localhost ([::1]:58834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlQkV-0004SL-BQ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 02:13:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlQTY-000114-Vv for help-gnu-emacs@gnu.org; Fri, 12 Nov 2021 01:55:52 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.134]:44787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlQTW-0007xj-UW for help-gnu-emacs@gnu.org; Fri, 12 Nov 2021 01:55:52 -0500 Original-Received: from ping ([92.116.187.140]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MpUQm-1mMIqu2Y9M-00pxYA; Fri, 12 Nov 2021 07:55:48 +0100 In-Reply-To: <87mtmanwxg.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Thu, 11 Nov 2021 23:34:51 +0100") X-Provags-ID: V03:K1:GsMBvayWaDTS2yV9032AtL2bQZsyXLK+9pGgeXAvKI9xW1v1QCW 7hw7LevZdeAusvia9BTsuh7G4bCMQVtHZs3VFnNakocHlle+eywwgyEMk1sHtVvJoI1L2Xn 6eHXQQ4pbCc6vziYfwF/JG3S9BvdGoP9p9J67TBcu4psnc4+XP9WOXGyHbzQN/0rAtKmgtv pVIN9gGoAPvr88ooUr/Gw== X-UI-Out-Filterresults: notjunk:1;V03:K0:qY36taktb4Q=:1SjGodPtGSmS5SM2CnwsiS H9g2ib75d+Kzaw5UfaYuTO9HUYvjol0hlzVyw7NXZymIzPA+XJSppO2NnsNm5F9nZxql6Y61S JWmluQ2yAlqIT4PvtFmlwW2hF17m3HR+9JqV3rb0hlVJKSRvPWkL04GrJ1y8hyYdEYNcdQMBl NECFaiXfcmpIYPGrlmdqewKp+4B17Ivqpi0/QcuPnq7sEoxhpdtPlREq6wYooH9sCt5YwuKcX HSfvV0zxeIZxk7dJfHlgP3wFeYnw0OA2/78q/tXIJJRd8RJRvGyoOmeN3IGjo40P1mQE8+TB8 saEbBoRYb10fX/8MDB20tUYFgrLET+XxbSYKSGycmtbEhWq+rJYJgaFZBRVFjN3jNKhHa1uYM C6CuT/eNaGRnPLRNf7lkHWyHNetjxjSnHn5frFFHLHEoHRe9HgXc6wn16qnRYx3kZw4E/ivlh BLA8pcQ4gEysOG4+0fvwPl6I5NKDytXGAio8PFD7+FmUIH5TVYySmYOoZD7mR2nbDsmC8Qb3Q /0acQNSwRIiYQip1O8GPtpKiA5eMzuNFjNOj3cuwvxe2+lpHhefsRJVRE7xRBXk9yWXBZd5nD y9LfcW+Ot71q8uMbtpHfJ2JwT80vY9UoHLzAVs/jp5faWwTWDcyiyBq4p8gyOImXJpIUPriR3 3iBxx0FoZLYx/X2A/wL618cSiRZs5dXvIcBZGdX+iEwBt5Ty/9TADs0FEItDbGae4IWaIeDPZ QLR5B/t7QS07egKP Received-SPF: none client-ip=212.227.126.134; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:134529 Archived-At: =C3=93scar Fuentes writes: > "H. Dieter Wilhelm" writes: > >> git >> - master >> - admin >> - nt >> - dist-build >> >> I had a complete Emacs branch under master/, created by git worktree, >> changed one file under dist-build/ (without comitting). Then I wanted >> to get rid of the complete repository and tried to erase the git/ >> folder. I can't remember if I tried it first in dired (likely) or in >> the MSYS2 shell. >> >> All files and some folders are removed, only the folders which were >> leading to the changed file are intact but I can't remove any of these >> remaining folders! > > Did you reboot the machine since? Either reboot the machine or check > that you don't have any leftover running processes from the build. > Windows won't delete a file that is opened by a process, or a directory > that is the working directory of a process. Yes, I rebooted the machine already and still can't erase the folders. > Exit any MSYS2, CMD or Emacs shell, launch the Task Manager and in the > Details pane look for instances of `make', `gcc', `sh', `bash', `cmd', > `git', etc. Kill those processes and try removing the problematic > file/folder from Windows Explorer. But I'll double check this and report the outcome Thank you for the hints Dieter --=20 Best wishes H. Dieter Wilhelm Zwingenberg, Germany