[Top][All Lists]

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

Re: "Renaming: permission denied" file-error in Windows

From: Eli Zaretskii
Subject: Re: "Renaming: permission denied" file-error in Windows
Date: Sun, 11 Dec 2011 07:51:40 -0500

> Date: Sun, 11 Dec 2011 00:32:33 -0800
> From: Paul Eggert <address@hidden>
> CC: LynX <address@hidden>, address@hidden
> On 12/10/11 21:30, Eli Zaretskii wrote:
> > Does Emacs on Unix or GNU/Linux systems allow moving a directory to a
> > different filesystem?  (I cannot test this where I'm typing this.)
> Yes it does.


> Emacs first tries to rename the directory, and when that
> fails (because rename fails with errno == EXDEV) it copies the
> directory recursively.

Ah, I see the problem now: the implementation of `rename' on Windows
does not return errno = EXDEV in that case, so the recursive copying
does not happen.

I encourage the OP to file a bug report (using "M-x report-emacs-bug")
about this.  It should be easy to fix this.

reply via email to

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