GNU bug report logs - #41463
27.0.91; ACL error on Windows when trying to save file

Previous Next

Package: emacs;

Reported by: Lars Ljung <lars <at> matholka.se>

Date: Fri, 22 May 2020 17:48:02 UTC

Severity: normal

Found in version 27.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41463: closed (27.0.91; ACL error on Windows when trying to
 save file)
Date: Sat, 23 May 2020 07:41:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 23 May 2020 10:40:33 +0300
with message-id <83h7w714lq.fsf <at> gnu.org>
and subject line Re: bug#41463: 27.0.91; ACL error on Windows when trying to save file
has caused the debbugs.gnu.org bug report #41463,
regarding 27.0.91; ACL error on Windows when trying to save file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
41463: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41463
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Lars Ljung <lars <at> matholka.se>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.91; ACL error on Windows when trying to save file
Date: Fri, 22 May 2020 19:47:39 +0200
I get the following error when trying to save a specific file:

Saving file h:/some/file.txt...
file-extended-attributes: Getting ACLs: Input/output error, h:/some/file.txt

This is unexpected since both Emacs 26.3 and notepad.exe are able to
write to this file. Even though I also get an error when using the
Get-Acl command in PowerShell.

In GNU Emacs 27.0.91 (build 2, x86_64-w64-mingw32)
Repository revision: 4b9fbdb5a713745dfdb13042e33ba2345e6860e1
Repository branch: emacs-27
Windowing system distributor 'Microsoft Corp.', version 10.0.18363
System Description: Microsoft Windows 10 Enterprise (v10.0.1909.18363.836)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --prefix=/c/emacs/emacs-27.1 --without-compress-install
 --disable-build-details --without-pop LDFLAGS=-shared-libgcc'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY W32NOTIFY ACL GNUTLS
LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER
LCMS2 GMP

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ljung <lars <at> matholka.se>
Cc: 41463-done <at> debbugs.gnu.org
Subject: Re: bug#41463: 27.0.91; ACL error on Windows when trying to save file
Date: Sat, 23 May 2020 10:40:33 +0300
> Cc: 41463 <at> debbugs.gnu.org
> From: Lars Ljung <lars <at> matholka.se>
> Date: Sat, 23 May 2020 09:12:57 +0200
> 
> Den 2020-05-23 kl. 07:52, skrev Eli Zaretskii:
> >> Date: Sat, 23 May 2020 08:43:40 +0300
> >> From: Eli Zaretskii <eliz <at> gnu.org>
> >> Cc: 41463 <at> debbugs.gnu.org
> >>
> >>> I traced this to acl_get_file() in w32.c where GetLastError() returns
> >>> 50, i.e. ERROR_NOT_SUPPORTED.
> >>
> >> Thanks.  Does the patch below fix this problem?
> > 
> > Actually, please use this more thorough patch instead:
> 
> That does the trick, thanks :)

Great, thanks.  I installed the fix on the emacs-27 branch, and I'm
therefore marking this bug done.


This bug report was last modified 5 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.