DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 45DL0WV8280268 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=MR1Wvxi3 X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C43653882072 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1718312430; bh=JUemz1kbzaPVlVv1LNm7gzPnOlZRJ3X4sUF3WcOgyRQ=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=MR1Wvxi3G6ut108VMFc1fAVhYvt0xEatCWNsq8kDDl2v0OBJWLtxLDwpgO3MVZHJv 6ZuKATDgtN2kYQflGM/VRe4v7vS/CpH8sDbg2RLCikTELdmqP6cXnt/5VoY1oD4A1V cWdQawhsUGZJ7ci++R7y+pGjzhEgTct7u7UDjtX8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02DC63882059 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 02DC63882059 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718312373; cv=none; b=bslo1itNWyvDiz3P8RWSMiN9lMuIDNXhRCch+cUm9RQGIpMNFLMej28ry6r3PmdHv0J4nWkjoJFfNA3NjF5+xt3a0qZoTu+jetgAS5u4lGtq/Wwzgt/cTFra4MX4uCxUvHIKf7TI2AbxsqIhA9Df2eRFzaHpWaHz7+2LA8thJSs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718312373; c=relaxed/simple; bh=GK82UW5kz35ph4rhbwl/dFUzkExxlQgx97rF2ZkbvX4=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=obM6I1KUWxlPbGbSpyCKsTZ9XhGG/SSZUsRVQC9sLL1KvJmQcTkVwkRvgKwMGbV3b26ZzoQi7nxp5XlG+FLkf1gwQiHDQPHTYd6LsMncSUJDu2OnYJNxG/XfgeWUcdiMK4DXDb5YVWEHPOnJ+JZqjJG93JWoT7HGXnOnHGxYY5U= ARC-Authentication-Results: i=1; server2.sourceware.org Date: Thu, 13 Jun 2024 13:59:28 -0700 (PDT) X-X-Sender: jeremyd AT resin DOT csoft DOT net To: cygwin AT cygwin DOT com Subject: unable to remove oddly-named directory Message-ID: <6f296b1c-ad43-81e3-163b-4bc4d1b8ed4c@jdrake.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Jeremy Drake via Cygwin Reply-To: Jeremy Drake Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Backstory: rust's test suite makes an oddly-named directory as part of a test: https://github.com/rust-lang/rust/blob/921645c737f1d6d107a0a10ca5ee129d364dcd7a/tests/run-make/non-unicode-in-incremental-dir/rmake.rs When trying to clean up after a rust build/test with rm -rf, it results in a "Directory not empty" error. Thankfully, this can be simply reproduced with the following two bash commands (on cygwin 3.5.3): mkdir -p foo/$'\uD800' rm -rf foo This fails with: rm: cannot remove 'foo': Directory not empty when it should succeed. -- 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