From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22795: 25.0.91; Can't write read only file on w32 Date: Thu, 25 Feb 2016 20:09:34 +0200 Message-ID: <8360xcfyqp.fsf@gnu.org> References: <83bn75hqm2.fsf@gnu.org> <20160224.135749.408852023.Takaaki.Ota@am.sony.com> <83h9gwg2j8.fsf@gnu.org> <20160225.090838.192544111.Takaaki.Ota@am.sony.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456423835 14568 80.91.229.3 (25 Feb 2016 18:10:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Feb 2016 18:10:35 +0000 (UTC) Cc: 22795@debbugs.gnu.org To: "Ota\, Takaaki" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 25 19:10:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aZ0Mk-0000zi-S2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Feb 2016 19:10:19 +0100 Original-Received: from localhost ([::1]:45089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ0Mg-0001Ey-QF for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Feb 2016 13:10:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ0MY-00015W-JT for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 13:10:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ0MU-0001V6-KN for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 13:10:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ0MU-0001V1-H8 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 13:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZ0MU-0007ob-DP for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 13:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Feb 2016 18:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22795-submit@debbugs.gnu.org id=B22795.145642379030016 (code B ref 22795); Thu, 25 Feb 2016 18:10:02 +0000 Original-Received: (at 22795) by debbugs.gnu.org; 25 Feb 2016 18:09:50 +0000 Original-Received: from localhost ([127.0.0.1]:46343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZ0MH-0007o4-Vg for submit@debbugs.gnu.org; Thu, 25 Feb 2016 13:09:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45847) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZ0MF-0007nn-Fm for 22795@debbugs.gnu.org; Thu, 25 Feb 2016 13:09:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ0M3-0001PL-4j for 22795@debbugs.gnu.org; Thu, 25 Feb 2016 13:09:39 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ0M3-0001PG-1I; Thu, 25 Feb 2016 13:09:35 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1162 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZ0M1-0005L7-RV; Thu, 25 Feb 2016 13:09:34 -0500 In-reply-to: <20160225.090838.192544111.Takaaki.Ota@am.sony.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113816 Archived-At: > Date: Thu, 25 Feb 2016 09:08:38 -0800 > CC: <22795@debbugs.gnu.org> > From: "Ota, Takaaki" > > 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.