unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@MIT.EDU>
To: Sven Joachim <svenjoac@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: unable to copy directory recursively to a vfat partition
Date: Wed, 23 Jul 2008 18:51:50 -0400	[thread overview]
Message-ID: <20080723185150.txs6e4gbr23ow0g4@webmail.mit.edu> (raw)

Regarding bug 268 in the bug tracker:

> Copying a directory recursively in dired to a vfat partition fails
> because `dired-copy-file-recursive' calls `set-file-modes' on
> directories after creating them.  This behaviour appears to be
> new in 22.2, same recursive copy worked in 22.1.

This appears to be due to the following change:

2007-10-31  Sven Joachim  <svenjoac@gmx.de>

	* dired-aux.el (dired-copy-file-recursive):
	Preserve directory permissions.

Could someone fix this in both the trunk and the branch?
It looks like a simple condition-case around the call to
set-file-modes in dired-copy-file-recursive should be
enough; but someone with access to vfat needs to test this.




             reply	other threads:[~2008-07-23 22:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 22:51 Chong Yidong [this message]
2008-07-24  5:30 ` unable to copy directory recursively to a vfat partition Sven Joachim
2008-07-24  5:54   ` Sven Joachim
2008-07-24 13:23     ` Chong Yidong
2008-07-24 14:05       ` Sven Joachim
2008-07-24 14:59         ` Stefan Monnier
2008-07-24 14:57           ` Sven Joachim
2008-07-24 16:19         ` Chong Yidong
2008-07-24 14:35       ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080723185150.txs6e4gbr23ow0g4@webmail.mit.edu \
    --to=cyd@mit.edu \
    --cc=emacs-devel@gnu.org \
    --cc=svenjoac@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).