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: Wed, 08 Jun 2016 20:07:53 +0300 Message-ID: <83k2hzr4ly.fsf@gnu.org> References: <83wpm2rv4q.fsf@gnu.org> <20160606.134632.327444666.Takaaki.Ota@am.sony.com> <83portsor7.fsf@gnu.org> <20160607.160238.139405630.Takaaki.Ota@am.sony.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465405712 18380 80.91.229.3 (8 Jun 2016 17:08:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2016 17:08:32 +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 Wed Jun 08 19:08:21 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 1bAgxk-0006b1-Uv for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2016 19:08:17 +0200 Original-Received: from localhost ([::1]:58535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAgxk-0004Ry-6w for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2016 13:08:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAgxa-0004Ne-QF for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 13:08:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAgxW-0006W0-DC for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 13:08:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAgxW-0006Vw-9a for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 13:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bAgxW-0007vW-6h for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 13:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jun 2016 17:08: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: moreinfo Original-Received: via spool by 22795-submit@debbugs.gnu.org id=B22795.146540564530424 (code B ref 22795); Wed, 08 Jun 2016 17:08:02 +0000 Original-Received: (at 22795) by debbugs.gnu.org; 8 Jun 2016 17:07:25 +0000 Original-Received: from localhost ([127.0.0.1]:33067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAgwv-0007ue-7d for submit@debbugs.gnu.org; Wed, 08 Jun 2016 13:07:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAgws-0007uQ-WB for 22795@debbugs.gnu.org; Wed, 08 Jun 2016 13:07:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAgwk-000633-M4 for 22795@debbugs.gnu.org; Wed, 08 Jun 2016 13:07:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAgwk-00062u-J8; Wed, 08 Jun 2016 13:07:14 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1392 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bAgwj-0000Lw-O5; Wed, 08 Jun 2016 13:07:14 -0400 In-reply-to: <20160607.160238.139405630.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" Xref: news.gmane.org gmane.emacs.bugs:119289 Archived-At: > Date: Tue, 7 Jun 2016 16:02:38 -0700 > CC: <22795@debbugs.gnu.org> > From: "Ota, Takaaki" > > I changed the ownership of the home directory. Then performed the > next test. Does this tell you anything? Not really, no. I guess we still need the answers to the questions I asked back in March, repeated below: > > I just tried again with "run -Q" from gdb and the result is the same. > > 24.5 never called sys_rename() and 25.0.91 called sys_rename() with > > two same names. > > What about Frename_file? does 24.5 call it in this scenario? > > If it doesn't, then please look at the beginning of backup-buffer (in > files.el), make sure it is called in 24.5 in this scenario, and then > please tell what are the values of real-file-name and backup-info in > this part at the beginning of backup-buffer: > > (let* ((real-file-name (file-chase-links buffer-file-name)) > (backup-info (find-backup-file-name real-file-name))) > > Also, what are the values of make-backup-files, backup-inhibited, and > buffer-backed-up in the buffer that visits the read-only file? > > Btw, is that file under some kind of version control, per chance? > > And please make sure, from now on, to test everything in "emacs -Q", > to prevent any customizations from getting in the way of this > investigation. Thanks.