all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: usr345@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: Incorrect error message for file operation in Windows
Date: Mon, 03 Jun 2013 18:04:30 +0300	[thread overview]
Message-ID: <83ppw3xmkh.fsf@gnu.org> (raw)
In-Reply-To: <83a9n8zbd5.fsf@gnu.org>

> Date: Sun, 02 Jun 2013 20:11:18 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
> 
> > Date: Sun, 2 Jun 2013 20:45:25 +0400
> > From: Ivanov Dmitry <usr345@gmail.com>
> > CC: emacs-devel@gnu.org
> > 
> > > 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?
> > 
> > The filesystem is NTFS. OS: Windows XP SP3. I am working as an ordinary user, who can only read from E:\video, and can not write there.
> 
> Thanks, but that's not enough info.

Actually, additional info is not important, so you can stop looking
for it.

In Emacs 24.3 and earlier, copy-file called a Windows API that doesn't
set errno, and Emacs itself didn't check Windows-specific errors
triggered by that API.  So you can get any error at all reported
there.

The development trunk does check errors and sets errno accordingly, so
you get either "Permission denied" or "Access denied", and nothing
else.

Sorry I didn't check the code earlier.



  reply	other threads:[~2013-06-03 15:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02 10:53 Incorrect error message for file operation in Windows Ivanov Dmitry
2013-06-02 15:57 ` Eli Zaretskii
2013-06-02 16:45   ` Re[2]: " Ivanov Dmitry
2013-06-02 17:11     ` Eli Zaretskii
2013-06-03 15:04       ` Eli Zaretskii [this message]
2013-06-02 20:50 ` Stefan Monnier
2013-06-03  7:31   ` Re[2]: " Ivanov Dmitry

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

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

  git send-email \
    --in-reply-to=83ppw3xmkh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=usr345@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.