emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect error message for file operation in Windows


From: Eli Zaretskii
Subject: Re: Incorrect error message for file operation in Windows
Date: Mon, 03 Jun 2013 18:04:30 +0300

> Date: Sun, 02 Jun 2013 20:11:18 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> > Date: Sun, 2 Jun 2013 20:45:25 +0400
> > From: Ivanov Dmitry <address@hidden>
> > CC: address@hidden
> > 
> > > 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 via email to

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