From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic303-21.consmr.mail.ne1.yahoo.com (sonic303-21.consmr.mail.ne1.yahoo.com [66.163.188.147]) by sourceware.org (Postfix) with ESMTPS id BF4DE385700E for ; Sun, 8 Nov 2020 14:40:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BF4DE385700E X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1604846446; bh=qWQwDftoAtcMsfH8OsS6HQ1lKyb5e1YK7uKT/tN3PtF=; h=Subject:To:From:Date; b=oTEMAK5gpxNKAj4Z/KVPt50WRoJyyQHW6YgSMQlzwIUV4+SNRw7W1CcCxTVo++SJseE00xKw0nHlRXNZ9BiGCHUVJyD2yECtRDhRlvd8AMW3MdD2v2I5HxhEYW/PEe/vHW16JAyTeR7cEmINbcIRCi0IuwUqSHTEOXZCK1drAfRAH2/e8xPAaxn+MeCxgTyy+Nr8ZZ0wkZN8lJce5pN3oA2nNtbdVnzJSkcJRymhBhAflFgapwQMDSSttkNW+vzqwQWGvGxz6ocPg0f7eVB6w6qAqQWCeWEEW2QPplveGYfPh4wjh0y2UT4i+aEPnkCU5VFiqCRt7uRJnl0qTfuQpQ== X-YMail-OSG: 2Y.AYQoVM1k6aWfyGWo8gv1GEeLaIDY.WhSGjyGuspydkLSn4oQrVdiJttKqu3v ZCrl0k6GrAMb4S5He2_WgGIzq1Zfdl2EtmomVQuJ8_bMm6iu3R393cUY0v.j02c7xrdXc1q0MqZc 5h8u_cRTZS9oOIeC70BBNbZbEziZBGPbSJNSrrA6YDG4OB3AWfA_dutDJgLNzkl7N0za0whA6n0g 9_OFGuBI_wb_RpKw4UTaTOtN5MPAN1546nW5sx2ETn_ADyL6Vus0Jq4AE84vE1jOob8GFgr61SqJ Ok.KEVpRi_zVsnfRoETVdKz2wNAtgClM9HvmTdSD67r0ZsZbi4BB9Gl4Y_Xb_V_cvnLkhZjk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WAAJdsrhfQwNyWYD4F5APXL1IgBPnjb_EgClGiQI3pWLPwfjFgCzykEeA08oPylP 4CVfR05V4ShaNxElNkbI4RzjITz3DW6aFS7ECc3c5YZ3XZC8EWCcU9AHHZWVM5Ch6CcQUFTanA7v QcN0hocPHUy4DmOkB8z4olxVgbT0FeZwYlWjpmGdw_FBlRcP2sGC.jF17mhjgA4cYcW0orSyWiy9 kPzIfPUNxdoWmt5a4TrU1Qj_fZeykWVo- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sun, 8 Nov 2020 14:40:46 +0000 Received: by smtp402.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 27b6c299c7be78d05afb61e32c963764; Sun, 08 Nov 2020 14:40:42 +0000 (UTC) Subject: Re: Strange paths in NTFS reparse points created by Cygwin Setup for e.g. TTF fonts To: Ken Brown , cygwin@cygwin.com, L A Walsh References: <245e2446-8c1e-cbaa-a4ad-215d7e766274.ref@yahoo.de> <245e2446-8c1e-cbaa-a4ad-215d7e766274@yahoo.de> From: Michael Soegtrop Message-ID: Date: Sun, 8 Nov 2020 15:40:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Mailer: WebService/1.1.16944 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.8) X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, 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@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: Sun, 08 Nov 2020 14:40:49 -0000 Hi Ken, L A Walsh, > But you can change this if you don't like it, as I said in my reply to your earlier message about this: I don't know if I like it yet - I am still in the process of understanding what is going on. I maintain the Windows build of a large open source project and we also deliver scripts to setup cygwin on our user's machines. I need to understand what is going on before I make changes to settings. I am afraid that using non standard settings in the end will lead to more confusion than good - especially if people have several cygwin installations. Also I need to be able to support our users in case they have issues with this. The interesting point is that in our CI we do several 100 cygwin installations (sometimes more than 1000) per month. For 95%..99% the removal with "rm -rf" from another cygwin installation works well, in about 1%..5% of the case about 250 symlinks / reparse points remain. This happens all on the same machines with identical scripts. With my manual installations of cygwin it is about the same ratio. I had two cases where removing a cygwin installation from Windows explorer with "shift+delete" did not work cause of these about 250 symlinks - I would say I did roughly 100 installations in this time frame. What I don't understand is why it does work sometimes and sometimes not. I always use the same scripts to install and remove cygwin on the same machines and then do pretty much the same thing with this cygwin (build our open source software) before I delete it. It is unlikely that the issue is that the target files are open as L A Welsh suggested because always either all symlinks or none at all remain. The number is always the same (with recent versions afair 258). @ L A Walsh: you wrote "1) if you try to delete the file in cygwin" Why shouldn't I be able to remove symlinks with rm -rf from within a cygwin? As far as I understand the standard behavior of "rm" is to remove the symlink and not its target. What I do when I remove a cygwin installation in our CI is an "rm -rf" from a different cygwin installation. As I said in most cases this works but rarely it doesn't. In case it doesn't work the symlinks are quite hard to get rid of. FSUTIL REPARSEPOINT DELETE is the only method which works I found so far. Even after a reboot, resetting the ACLs in various ways, ... no usual method to remove these files works. I understand that the contents / path of the symlink is as expected, so I am looking out for other oddities which could explain this behavior. Best regards, Michael