From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#18751: 25.0.50; Unable to copy hidden (dot) files from remote shared server (Linux) to local machine (OSX). Date: Mon, 20 Oct 2014 07:56:30 +0200 Message-ID: <877fzvb7xt.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413784657 27490 80.91.229.3 (20 Oct 2014 05:57:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 05:57:37 +0000 (UTC) Cc: 18751@debbugs.gnu.org To: Keith David Bershatsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 07:57:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xg5yB-0006ug-CU for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 07:57:27 +0200 Original-Received: from localhost ([::1]:42587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg5yB-0002Ko-1B for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 01:57:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg5xs-000232-Fz for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 01:57:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xg5xm-0007Oc-7G for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 01:57:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg5xm-0007OY-4m for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 01:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xg5xl-0005CO-Lv for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 01:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Oct 2014 05:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18751 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18751-submit@debbugs.gnu.org id=B18751.141378460219951 (code B ref 18751); Mon, 20 Oct 2014 05:57:01 +0000 Original-Received: (at 18751) by debbugs.gnu.org; 20 Oct 2014 05:56:42 +0000 Original-Received: from localhost ([127.0.0.1]:56254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xg5xR-0005Bi-TV for submit@debbugs.gnu.org; Mon, 20 Oct 2014 01:56:42 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:53042) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xg5xP-0005BU-7Q for 18751@debbugs.gnu.org; Mon, 20 Oct 2014 01:56:40 -0400 Original-Received: from detlef.gmx.de ([93.202.60.118]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MYfX0-1XcIcc3azq-00VNxf; Mon, 20 Oct 2014 07:56:33 +0200 In-Reply-To: (Keith David Bershatsky's message of "Sun, 19 Oct 2014 07:46:11 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-Provags-ID: V03:K0:sxICXwa+J07thL24DZ2nY6YD7jKmEA20yLKec4LMm2hBaZ/IIzd IHnh4n8hLxhk4mR8lomhh0MxDedDCDwH/U6mfJMQApxN1UMNiW8385e7Lg44kqsTKue/Jlr ahrcV9dt3X8aSamg/8+i9nYewpNptAb77gowY90KOVzHCgJegu1fcux5d6FQl8atN1hZx7n kwxdeKFhp98TC3Xm4aOew== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94813 Keith David Bershatsky 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.