emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recursive copies in dired abort on first error


From: Sven Joachim
Subject: Recursive copies in dired abort on first error
Date: Mon, 28 Aug 2006 09:52:39 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060812)

Recursive copies in dired fail rather ungracefully: if an error occurs
for one file the whole operation is aborted, leaving the remaining
files unprocessed.  See the following example: A dired buffer looks
like this:

,----
|   /tmp/foo:
|   total used in directory 15 available 265502
|   drwxr-xr-x  2 root root  1024 Aug 27 21:41 .
|   drwxrwxrwt 13 root root 11264 Aug 27 21:39 ..
|   -rw-r--r--  1 root root     4 Aug 27 21:39 bar
|   -rw-------  1 root root     5 Aug 27 21:40 topsecret
|   -rw-r--r--  1 root root     5 Aug 27 21:41 whynot_copied
`----

Now, in Dired I switched to /tmp and tried to copy foo recursively to
my home directory (I have `dired-recursive-copies' set to 'top) which
failed with the error

Copy `/tmp/foo' to `/home/sven/foo' failed:
(file-error Opening input file keine Berechtigung /tmp/foo/topsecret)

(For the non-Germans: `keine Berechtigung' means `permission denied'.)

After that, the directory for ~/foo looked as follows:

,----
|   /home/sven/foo:
|   total used in directory 12 available 1797044
|   drwxr-xr-x  2 sven sven 4096 Aug 27 21:42 .
|   drwxr-xr-x 47 sven sven 4096 Aug 27 21:42 ..
|   -rw-r--r--  1 sven sven    4 Aug 27 21:39 bar
`----

, confirming that the copy operation was aborted after the failure on
the `topsecret' file.


In GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-08-25 on debian, modified by Debian
 (Debian emacs-snapshot package, version 1:20060824-1)
X server distributor `The X.Org Foundation', version 11.0.70000000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib'
'--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' 
'--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.50/leim'
'--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g 
-O2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  display-time-mode: t
  auto-image-file-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<next> <next> <prior> <prior> <prior> <next> <next>
C-x k <return> C-x k <return> g C-x d / t m <tab> f
o o <return> <up> <return> C-x d <return> <down> <down>
<down> <down> <down> <down> <down> <up> C ~ <return>
y e s <return> C-x 4 d ~ / f o o <return> M-x r e p
o r t - e m a c s <tab> <return>

Recent messages:
uncompressing update-fonts-dir.8.gz...done
WoMan formatting buffer...done in 0 seconds
Undo!
Mark set [2 times]
Building Debian package lists...done.
No files associated for type: search.
call-interactively: Beginning of buffer
Copy `/tmp/foo' to `/home/sven/foo' failed:
(file-error Opening input file keine Berechtigung /tmp/foo/topsecret)

Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]