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: Wed, 24 Feb 2016 21:09:57 +0200
> Date: Wed, 24 Feb 2016 08:44:02 -0800
> From: "Ota, Takaaki" <Takaaki.Ota <at> am.sony.com>
> 
> When a file is read only on w32 platform I used to be able to write a
> file by toggling the buffer's read-only-mode state and answering yes
> to this question "File memo is write-protected; try to save anyway?
> (yes or no)" but now the writing fails by an error message "Opening
> output file: Permission denied, c:/d/ota/memo"

I cannot reproduce this, neither with today's emacs-25 nor with the
last pretest of 25.1.  If I answer yes to that question, the file is
saved without any errors.

How did you make the file read-only?  (I used a Windows port of
'chmod' and the 'attrib' command.)




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

Previous Next


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