GNU bug report logs -
#29501
27.0.50; Remote file handling is broken
Previous Next
Reported by: Stephen Berman <stephen.berman <at> gmx.net>
Date: Wed, 29 Nov 2017 23:35:02 UTC
Severity: normal
Merged with 29163
Found in versions 26.0.90, 27.0.50
Fixed in version 26.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29501 in the body.
You can then email your comments to 29501 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#29501
; Package
emacs
.
(Wed, 29 Nov 2017 23:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stephen Berman <stephen.berman <at> gmx.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 29 Nov 2017 23:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
0. emacs -Q
1. Evaluating this sexp: (dired "/su::/var/log")
fails to prompt for root's password and errors with this backtrace:
Debugger entered--Lisp error: (error "Directory /su::/var/log inaccessible or nonexistent")
signal(error ("Directory /su::/var/log inaccessible or nonexistent"))
error("Directory %s inaccessible or nonexistent" "/su::/var/log")
dired-readin-insert()
dired-readin()
dired-internal-noselect("/su::/var/log" nil)
dired-noselect("/su::/var/log" nil)
dired("/su::/var/log")
eval((dired "/su::/var/log") nil)
elisp--eval-last-sexp(t)
eval-last-sexp(t)
eval-print-last-sexp(nil)
funcall-interactively(eval-print-last-sexp nil)
call-interactively(eval-print-last-sexp nil nil)
command-execute(eval-print-last-sexp)
A similar failure happens when trying to access a real remote file via
e.g. sftp, except that the error is `file-missing "Setting current
directory" "No such file or directory"'.
The failure happens when dired-insert-directory calls
(file-remote-p "/su::/var/log")
, which calls
(find-file-name-handler "/su::/var/log" 'file-remote-p)
, and both of these return nil.
The failure does not happen in emacs-26; there
(file-remote-p "/su::/var/log")
returns
#("/su:root <at> rosalinde:" 4 8 (tramp-default t))
and
(find-file-name-handler "/su::/var/log" 'file-remote-p)
returns
tramp-file-name-handler
I bisected the failure to this commit:
commit 0f286ca85a259575b67dba520ff72e59cc011426
Author: Michael Albinus <michael.albinus <at> gmx.de>
Date: Sat Oct 21 18:51:25 2017 +0200
Fix Bug#28889
* lisp/net/tramp.el: Change autoload cookie to tramp-autoload cookie.
(tramp-completion-file-name-regexp-default)
(tramp-completion-file-name-handler-alist)
(tramp-completion-file-name-handler): Remove autoload cookie.
(tramp-initial-completion-file-name-regexp): Remove.
(tramp-autoload-file-name-regexp): New defconst.
(tramp-register-autoload-file-name-handlers): Use it.
(with-parsed-tramp-file-name): Adapt docstring. Compute
`tramp-file-name' slots. (Bug#28889)
This commit is also in emacs-26, so it would seem that some later commit
to emacs-26 fixed it and this hasn't been merged to master. I bisected
on master between 090f4f157eea6f0d0d13963520f5e05706de142f, which is my
last build on master where the failure does not occur, and
83dc3f0e9b518e45bcfb0aaebcc706f79622f157, which is my first build on
master where the failure does occur. (It's too late for me to bisect on
emacs-26 now; if necessary, I can try to do it in the next few days.)
In GNU Emacs 27.0.50 (build 10, x86_64-pc-linux-gnu, GTK+ Version 3.22.18)
of 2017-11-29 built on rosalinde
Repository revision: 95369ac346d75a7b75bc2c5adf632cc4faa1241a
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000master/
System Description: Linux From Scratch
Recent messages:
Reading active file from private via nnfolder...
Opening nnfolder server on private...done
Reading incoming mail from file...
nnfolder: Reading incoming mail (no new mail)...done
Reading active file from private via nnfolder...done
Reading active file from archive via nnfolder...
Opening nnfolder server on archive...done
Reading active file from archive via nnfolder...done
Reading active file via nndraft...done
Checking new news...done
Quit
Configured using:
'configure --with-xwidgets 'CFLAGS=-Og -g3''
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 XWIDGETS LCMS2
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#29501
; Package
emacs
.
(Thu, 30 Nov 2017 01:17:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 29501 <at> debbugs.gnu.org (full text, mbox):
Stephen Berman wrote:
> This commit is also in emacs-26, so it would seem that some later commit
> to emacs-26 fixed it and this hasn't been merged to master.
So rather than opening a bug report, either wait till after today's
emacs-26 has been merged to master, or better still, do it yourself.
bug closed, send any further explanations to
29501 <at> debbugs.gnu.org and Stephen Berman <stephen.berman <at> gmx.net>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 30 Nov 2017 01:17:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#29501
; Package
emacs
.
(Thu, 30 Nov 2017 08:04:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 29501 <at> debbugs.gnu.org (full text, mbox):
Stephen Berman <stephen.berman <at> gmx.net> writes:
Hi Stephen,
> 0. emacs -Q
> 1. Evaluating this sexp: (dired "/su::/var/log")
> fails to prompt for root's password and errors with this backtrace:
This is the same problem as Bug#29163.
> The failure does not happen in emacs-26; there
> (file-remote-p "/su::/var/log")
> returns
> #("/su:root <at> rosalinde:" 4 8 (tramp-default t))
> and
> (find-file-name-handler "/su::/var/log" 'file-remote-p)
> returns
> tramp-file-name-handler
Yep. This has been fixed already in 06d05fec84.
> In GNU Emacs 27.0.50 (build 10, x86_64-pc-linux-gnu, GTK+ Version 3.22.18)
> of 2017-11-29 built on rosalinde
Meanwhile, emacs-26 has been merged to the master branch, so it shall be
fixed there as well.
I will mark this bug as duplicate of Bug#29163.
Best regards, Michael.
Merged 29163 29501.
Request was from
Michael Albinus <michael.albinus <at> gmx.de>
to
control <at> debbugs.gnu.org
.
(Thu, 30 Nov 2017 09:26:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#29501
; Package
emacs
.
(Thu, 30 Nov 2017 09:43:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 29501 <at> debbugs.gnu.org (full text, mbox):
On Thu, 30 Nov 2017 09:03:34 +0100 Michael Albinus <michael.albinus <at> gmx.de> wrote:
> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
> Hi Stephen,
>
>> 0. emacs -Q
>> 1. Evaluating this sexp: (dired "/su::/var/log")
>> fails to prompt for root's password and errors with this backtrace:
>
> This is the same problem as Bug#29163.
Ah, I didn't make the connection.
>> The failure does not happen in emacs-26; there
>> (file-remote-p "/su::/var/log")
>> returns
>> #("/su:root <at> rosalinde:" 4 8 (tramp-default t))
>> and
>> (find-file-name-handler "/su::/var/log" 'file-remote-p)
>> returns
>> tramp-file-name-handler
>
> Yep. This has been fixed already in 06d05fec84.
>
>> In GNU Emacs 27.0.50 (build 10, x86_64-pc-linux-gnu, GTK+ Version 3.22.18)
>> of 2017-11-29 built on rosalinde
>
> Meanwhile, emacs-26 has been merged to the master branch, so it shall be
> fixed there as well.
Thanks, I just updated and confirm it's fixed.
On Wed, 29 Nov 2017 20:16:06 -0500 Glenn Morris <rgm <at> gnu.org> wrote:
> Stephen Berman wrote:
>
>> This commit is also in emacs-26, so it would seem that some later commit
>> to emacs-26 fixed it and this hasn't been merged to master.
>
> So rather than opening a bug report, either wait till after today's
> emacs-26 has been merged to master,
Thanks for doing that already, and sorry for being impatient.
> or better still, do it yourself.
I know I should and I'm sure it's not hard, but my git-foo is pretty
minimal and the fear of screwing it up a bit intimidating.
Steve Berman
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 28 Dec 2017 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 176 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.