GNU bug report logs - #47601
28.0.50; tramp-sh-handle-file-newer-than-file-p works on MacOS but not on Linux

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Mon, 5 Apr 2021 13:48:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 47601 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Sam Steingold <sds <at> gnu.org>
Cc: 47601 <at> debbugs.gnu.org
Subject: Re: bug#47601: 28.0.50; tramp-sh-handle-file-newer-than-file-p
 works on MacOS but not on Linux
Date: Tue, 06 Apr 2021 09:59:20 +0200
Sam Steingold <sds <at> gnu.org> writes:

Hi Sam,

> I get this error on Linux but not on MacOS:
>
> Debugger entered--Lisp error: (file-error "Files /home/sds/.emacs.d/notes and /scp:fence:/home/s/sds/.emacs.d/notes must have same method, user, host")
>   signal(file-error ("Files /home/sds/.emacs.d/notes and /scp:fence:/hom..."))
>   tramp-sh-handle-file-newer-than-file-p("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
>   apply(tramp-sh-handle-file-newer-than-file-p ("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes"))
>   tramp-sh-file-name-handler(file-newer-than-file-p "/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
>   apply(tramp-sh-file-name-handler file-newer-than-file-p ("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes"))
>   tramp-file-name-handler(file-newer-than-file-p "/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
>   file-newer-than-file-p("~/.emacs.d/notes" "/scp:fence:~/.emacs.d/notes")

One of the both files returns tramp-time-dont-know in
file-attributes. However, there's no reason to fire an error in
Tramp. I've fixed this in master, could you, pls, check?

Best regards, Michael.




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

Previous Next


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