GNU bug report logs - #41834
28.0.50; Dired-x: Y makes symlink with error: File is a symlink to a nonexistent target

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Sat, 13 Jun 2020 10:16:01 UTC

Severity: minor

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Jean Louis <bugs <at> gnu.support>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 41834 <at> debbugs.gnu.org
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
* Michael Heerdegen <michael_heerdegen <at> web.de> [2020-06-13 14:40]:
> Jean Louis <bugs <at> gnu.support> 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




This bug report was last modified 4 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.