DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 519JHpRe3870886 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 519JHpRe3870886 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=r0GpfyuE X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A41723858C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1739128669; bh=XWUo6zaDC6yqfPcQLBERk14KPux6PpujOAuHxODNu/g=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=r0GpfyuEJFmGK1Gje7BZMsInhlaR0U2gqHbrkb3OQQCbSj9LrbNIW9qrl5jPxMRzE KSgRobffr3kQAQlH89Hekla4+pJR0u610ItFsd5mLlQpki77+OMpv8GK3AxgzHXmSl ZZvqOV91mlL7R9Db4nOyb3/UaU9gdWw3/3s9VQu4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0840A3858CDA ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0840A3858CDA ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739128604; cv=none; b=S/NANjTCHSMuriLbQgttP9t8HRjfzG/XbmUp3EtkfbEosSd6BtFRoZn/eVxsX5FxE5al1A1HARCooBTgSCoMDcamMTj/HEb6aRozpWxKdFFHxM9/A9KlAPXwnSuCkradUyE4kz3/jpy+74aqYfME0R5r3gs8orAUadc0hZUCieo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739128604; c=relaxed/simple; bh=lQlh2W1SxWy6nSOa87tOv6hoOh6W7TbIeer9RUzOEkA=; h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; b=KE+uLU16GlywJ6VbE1VkWikWv8X+4AkZtWb3+paiWzOThtZClcDAnlofpYcshgH6mSeeirnDpT4Bm7tXDd69qSxGFmX/kWBjUKZEdwCjZhO0f1LnjNKjCiBUhM5JQVEBpeW+3Z8WItuuTD8UPKqLkthT/G4R0nE4yorywgMTIqg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0840A3858CDA Message-ID: Date: Sun, 9 Feb 2025 12:16:12 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [maintainer] coreutils-9.0-1: "ln -fs" bug Content-Language: en-CA To: cygwin AT cygwin DOT com References: <7a4548d3-b614-4498-8ad5-50080e708bff AT gmail DOT com> <885aedda-f788-4d68-987a-cf7b7465958d AT gmail DOT com> Autocrypt: addr=Brian DOT Inglis AT SystematicSW DOT ab DOT ca; keydata= xjMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePbN LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT7ClgQTFggA PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDM44BF6KcfMSCisGAQQBl1UB BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAfCfgQYFggAJhYhBMM5 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 RSyTY8X+AQ== Organization: Systematic Software In-Reply-To: <885aedda-f788-4d68-987a-cf7b7465958d@gmail.com> X-Rspamd-Queue-Id: 272B12002D X-Rspamd-Server: rspamout04 X-Stat-Signature: 9xckenmfn7wcfchqqfkifexoneu3hseq X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX182r7HkMoYzfLAebGa7IqaUqaUk17mphIw= X-HE-Tag: 1739128573-175115 X-HE-Meta: U2FsdGVkX19d5Rv1QU5zaV43JYl11V/HiXSTWG/N1Z0M2BwfITB6ueF4hx5Du0kGJhHbQtD3dNv0Rodkd02Vf/5Cev8oH3tLm0vmrzvtSQHMmzogfCsOC4DO2ZvPgiLoDpdgbVZEGJqjyH24U4jS9SLIzO5zdzCls5LUaVN307oMKzahrZMplM8MicJldApaqpfxW+3xHQTBZcBZ15m9xPYTS8RM2QR8r0WJdry6gKOGeZBFd+LSzFZFBDNoYQ1c3SGHOXtCr96C6xqOnEyaEkQoVWydCf3CsbtXNIVahR1kY/DYdHRgnXkDzO/DXYLeWUDS/lrxp5/5XVaPqbbo+HpNCGy1423p X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 519JHpRe3870886 On 2025-02-09 11:51, Marco Atzeri via Cygwin wrote: > On 09/02/2025 06:40, Marco Atzeri wrote: >> Noticed today, not sure it is new nor that is Cygwin specific. >> >> It can create unrequested circular links, to replicate: >> >> $ cd /tmp >> $ mkdir dirA >> $ mkdir dirB >> $ cd dirA >> $ ln -fs /tmp/dirB dirB >> $ ls -l >> total 0 >> lrwxrwxrwx 1 marco marco 9 Feb  9 06:33 dirB -> /tmp/dirB >> $ cd dirB >> $ ls -l >> total 0 >> lrwxrwxrwx 1 marco marco 7 Feb  9 06:25 dirB -> ../dirB >> >> I built nothing in dirB, but now there is inside a circular link to itself. >> >> >> It only happens with "ln -fs" not with "ln -s" > > the test package > >  coreutils    9.5-1 > > has note this issue Thanks very much Marco, Glad to hear - that was quick! I will have to dig around the changes to see what was fixed. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- 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