From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#41834: 28.0.50; Dired-x: Y makes symlink with error: File is a symlink to a nonexistent target Date: Sat, 13 Jun 2020 14:57:35 +0300 Message-ID: <20200613115735.GF21905@protected.rcdrun.com> References: <86lfkri876.fsf@protected.rcdrun.com> <87d063i6f8.fsf@web.de> <20200613110620.GD21905@protected.rcdrun.com> <87sgezurcd.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="93271"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14.0 (2020-05-02) Cc: 41834@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 13 13:58:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jk4ne-000OBh-3R for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jun 2020 13:58:14 +0200 Original-Received: from localhost ([::1]:50494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jk4nc-0007SP-Vq for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jun 2020 07:58:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jk4nS-0007SC-SV for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2020 07:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jk4nS-0002Ne-JI for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2020 07:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jk4nS-00078a-I3 for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2020 07:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2020 11:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41834 X-GNU-PR-Package: emacs Original-Received: via spool by 41834-submit@debbugs.gnu.org id=B41834.159204947527423 (code B ref 41834); Sat, 13 Jun 2020 11:58:02 +0000 Original-Received: (at 41834) by debbugs.gnu.org; 13 Jun 2020 11:57:55 +0000 Original-Received: from localhost ([127.0.0.1]:40992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jk4nK-00078F-Vp for submit@debbugs.gnu.org; Sat, 13 Jun 2020 07:57:55 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:42213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jk4nJ-000781-GT for 41834@debbugs.gnu.org; Sat, 13 Jun 2020 07:57:54 -0400 Original-Received: from localhost ([::ffff:41.210.141.7]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000A1AF3.000000005EE4BF36.00004AFD; Sat, 13 Jun 2020 04:57:41 -0700 Content-Disposition: inline In-Reply-To: <87sgezurcd.fsf@web.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181917 Archived-At: * Michael Heerdegen [2020-06-13 14:40]: > Jean Louis writes: > > > Try again now, not all was uploaded in time. > > Ok, I can see these screenshots now - thanks. > > About your issue: does this happen every time (can you reproduce > reliably), and is this with emacs -Q? Yes, I have reproduced with emacs -Q > And you said that the created link is actually ok since you can follow > it in a shell? I could follow it first time. Now when I review again I cannot follow it. I have opened xterm inside and I could follow it. Now I opened xterm and I cannot follow it. I have noticed that "Y" causes wrong relative symlink, this one here: S lrwxrwxrwx 1 65 13. Jun 14:51 2020-06-13 -> ../../../../../../public_html/louis.club/media/2020/06/2020-06-13 And it should be this one: S lrwxrwxrwx 1 71 13. Jun 14:51 2020-06-13 -> ../../../../../../../../public_html/louis.club/media/2020/06/2020-06-13 And I have made that symlink from: /home/data1/protected/public_html/louis.club/media/2020/06/2020-06-13 to /home/data1/protected/Media/Pictures/Pictures/Year-2020/06/2020-06-13/2020-06-13 as symlink to /home/data1/protected/public_html/louis.club/media/2020/06/2020-06-13 I guess if you would recreate same directories at your side, you could reproduce it. The "Y" I used belongs to dired-x library. In my opinion the error is in the calculation for relative symlink. Jean