From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Incorrect error message for file operation in Windows Date: Sun, 02 Jun 2013 18:57:37 +0300 Message-ID: <83k3mczery.fsf@gnu.org> References: <1265839700.20130602145343@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370188688 32051 80.91.229.3 (2 Jun 2013 15:58:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2013 15:58:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ivanov Dmitry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 02 17:58:06 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UjAfT-0003jG-JO for ged-emacs-devel@m.gmane.org; Sun, 02 Jun 2013 17:58:03 +0200 Original-Received: from localhost ([::1]:33597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjAfT-0001cv-A6 for ged-emacs-devel@m.gmane.org; Sun, 02 Jun 2013 11:58:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjAfP-0001cd-DQ for emacs-devel@gnu.org; Sun, 02 Jun 2013 11:58:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjAfO-0006pq-AM for emacs-devel@gnu.org; Sun, 02 Jun 2013 11:57:59 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:64148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjAfO-0006o8-3C for emacs-devel@gnu.org; Sun, 02 Jun 2013 11:57:58 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MNR00900WAOG300@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 02 Jun 2013 18:57:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNR009RFWC7F910@a-mtaout20.012.net.il>; Sun, 02 Jun 2013 18:57:43 +0300 (IDT) In-reply-to: <1265839700.20130602145343@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159988 Archived-At: > Date: Sun, 2 Jun 2013 14:53:43 +0400 > From: Ivanov Dmitry > > I am using Emacs 24.1.1 (i386-mingw-nt5.1.2600) on Windows XP. Can you try a later version? Emacs 24.3 was released 2 months ago. > I tried the following code, copying file drupal.el from ~/.emacs.d to e:/video: > > (condition-case ex > (copy-file "~/.emacs.d/drupal.el" "e:/video") > ('error (message (format "Caught exception: [%s]" ex)))) > > > My user doesn't have the right to write to "e:/video". So, I expected "permission denied" error. Instead I got: > > "Caught exception: [(file-error Copying file no such file or directory d:/bin/cygwin/home/user/.emacs.d/drupal.el e:/video/drupal.el)]" > > This error message is incorrect - file exists. Why is that? Bug? Hard to say without more details. Can you describe in detail what do you mean by 'My user doesn't have the right to write to "e:/video"'? What kind of filesystem is on drive E:, and why cannot your user write there?