delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/13/10:17:17

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 <MSoegtrop AT Michael-Soegtrop DOT de>
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
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 <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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    <DIR>          .
02/07/2020  13:52    <DIR>          ..
01/07/2020  11:47    <JUNCTION>     ahronbd.ttf [...]
01/07/2020  11:47    <JUNCTION>     andlso.ttf [...]
01/07/2020  11:47    <JUNCTION>     angsa.ttf [...]
01/07/2020  11:47    <JUNCTION>     angsab.ttf [...]
01/07/2020  11:47    <JUNCTION>     angsai.ttf [...]
01/07/2020  11:47    <JUNCTION>     angsau.ttf [...]
01/07/2020  11:47    <JUNCTION>     angsaub.ttf [...]
01/07/2020  11:47    <JUNCTION>     angsaui.ttf [...]
01/07/2020  11:47    <JUNCTION>     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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019