GNU bug report logs - #22795
25.0.91; Can't write read only file on w32

Previous Next

Package: emacs;

Reported by: "Ota, Takaaki" <Takaaki.Ota <at> am.sony.com>

Date: Wed, 24 Feb 2016 18:18:02 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Ota\, Takaaki" <Takaaki.Ota <at> am.sony.com>
Cc: 22795 <at> debbugs.gnu.org
Subject: bug#22795: 25.0.91; Can't write read only file on w32
Date: Thu, 25 Feb 2016 20:09:34 +0200
> Date: Thu, 25 Feb 2016 09:08:38 -0800
> CC: <22795 <at> debbugs.gnu.org>
> From: "Ota, Takaaki" <Takaaki.Ota <at> am.sony.com>
> 
> Yes, I own and have full permission of the directory.  I noticed one
> thing when I tried other than C: drive.  An external USB drive with
> NTFS file system exhibits the same problem as C: drive.  A flash drive
> with FAT32 doesn't show the same problem.  Have you tried with NTFS?

I tried only with NTFS.

> I tried "emacs -Q" (actually "./runemacs -Q") and the result is the
> same.  On FAT32 the writing succeeds.  On NTFS the writing fails by
> Permission denied error.

Very strange.  I guess the only way forward is for you to step with
Edebug through save-buffer and its subroutines in files.el, and tell
what fails there and why.  Can you do that?  (Since this works on
FAT32, I suspect some issue with NT security, although 24.5 also used
ACLs...)

Thanks.




This bug report was last modified 8 years and 164 days ago.

Previous Next


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