GNU bug report logs -
#18751
25.0.50; Unable to copy hidden (dot) files from remote shared server (Linux) to local machine (OSX).
Previous Next
Reported by: Keith David Bershatsky <esq <at> lawlist.com>
Date: Thu, 16 Oct 2014 23:05:02 UTC
Severity: normal
Found in version 25.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 18751 <at> debbugs.gnu.org (full text, mbox):
Keith David Bershatsky <esq <at> lawlist.com> writes:
Hi Keith,
> Evaluating `(tramp-do-copy-or-rename-file 'copy filename new-filename
> t t t)` is working well on all individual files, including
> `.www.my.cnf`.
>
> `dired-do-copy` is working well on all individual files, and on
> multiple marked files.
>
> However, `dired-do-copy` cannot handle any remote directory on the
> remote server with files inside it. Placing the cursor on any
> directory on the remote server and issuing the command `dired-do-copy`
> results in only that folder being copied to the local machine, but
> noting inside it gets copied over.
Thanks for this precision. Now I'm able to reproduce the problem, even
with older Emacs versions.
As far as I could debug, sometimes Tramp is not involved. You could see
it when you instrument the test via
(trace-function-background 'find-file-name-handler)
When you copy a remote directory from dired, there are entries in
*trace-output* like this:
--8<---------------cut here---------------start------------->8---
1 -> (find-file-name-handler "/ssh:localhost:/home/albinus/.emacs.d" copy-directory)
1 <- find-file-name-handler: nil
--8<---------------cut here---------------end--------------->8---
But the result shall be
--8<---------------cut here---------------start------------->8---
1 <- find-file-name-handler: tramp-file-name-handler
--8<---------------cut here---------------end--------------->8---
No idea what's up. I need more debugging; unfortunately I have to start
for a business trip just now. When time permits, I'll continue next days.
> Keith
Best regards, Michael.
This bug report was last modified 10 years and 250 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.