X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2D9B53857C45 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=Michael-Soegtrop.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=MSoegtrop AT Michael-Soegtrop DOT de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1600006591; s=strato-dkim-0002; d=Michael-Soegtrop.de; h=Date:Message-ID:Subject:From:To:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=DldDQu5j6OhVs3LnSBld51dZ7LBx16cN+RfeBWW2HRc=; b=KDvKVLufK2CyMTmSE9JjHLtR8Ebr7KoO24sKzUvM5wZogtaa6FyZMKabT2bzoaQKxq MWukLLCXfC3Od6s7JYp7U3BMqoXeak+nxqoUOvWBfbFonxb4TJ5leQbEcXaUUWK52TUE ZvABiKcwFLbZIzjV2yHW7nNqAJF7AI9eYt6GYdqjVQKk+utGVMxtr5xNu+iyQp+CMHfF VD81455mqvGUq2eUNI9+rubJjty0Tx0NsWg1BGBD4/pjclrLeRrvjCMvMKHqcb06Bs9H K4hTlpdUyIR+QKlXK4ej7u109xtTXhB7wULcw07kGE4qU3D5ANjexUS0SYBVv7CYKREK 0riQ== X-RZG-AUTH: ":IX8LcEe8afCR0INjfjOF7O7avxctkyaQk40YS+tLap0PpJ2I20t+TrUL5ppPi6fErf3uhpW6T8f1KhGzl+sY" X-RZG-CLASS-ID: mo00 To: cygwin AT cygwin DOT com From: Michael Soegtrop Subject: Issues with removing cygwin installed TTF font files Message-ID: <2183c849-4ba5-5a83-a6c1-e061946420e1@Michael-Soegtrop.de> Date: Sun, 13 Sep 2020 16:16:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Language: en-US X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" Dear Cygwin Team and Users, since a few months I have issues deleting cygwin installations. In some cases randomly the /usr/share/fonts/microsoft folder and the TTF files in it remain. According to DOS dir the folder contains junctions to TTF files - not sure how this is possible - afaik a junction is for folders. But what I get is this: C:\ci\cygwin64_21081_16603\usr\share\fonts\microsoft>dir Volume in drive C is SYSTEM Volume Serial Number is 70C2-07FA Directory of C:\ci\cygwin64_21081_16603\usr\share\fonts\test 02/07/2020 13:52 . 02/07/2020 13:52 .. 01/07/2020 11:47 ahronbd.ttf [...] 01/07/2020 11:47 andlso.ttf [...] 01/07/2020 11:47 angsa.ttf [...] 01/07/2020 11:47 angsab.ttf [...] 01/07/2020 11:47 angsai.ttf [...] 01/07/2020 11:47 angsau.ttf [...] 01/07/2020 11:47 angsaub.ttf [...] 01/07/2020 11:47 angsaui.ttf [...] 01/07/2020 11:47 angsauz.ttf [...] : Interesting is that this does not happen always. I am working on a open source project and our CI installs and removes cygwin about 100 times a day. I see this issue about 20 times per month - distributed over all of our CI runners. Maybe Windows gives the TTF file some special handling every now and again, but I checked the registry and there is nothing pointing to this cygwin folder, except the cygwin installation registry. I couldn't find any method to remove these files. I made sure I have delete rights and that nobody has a lock on these files, but still whatever I tried (Explorer, cygwin admin console, DOS admin console, reboot a few times, chkdsk, google) failed. If you have an idea that could help me to delete these files reliably and/or avoid this situation, it would help me a lot! Best regards, Michael -- 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