From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.help Subject: Re: Issues with edited files not being saved Date: Tue, 15 Sep 2015 14:47:32 -0700 Message-ID: <20150915214600.23156.3A0678AA@ahiker.mooo.com> References: Reply-To: help-gnu-emacs@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1442353674 8498 80.91.229.3 (15 Sep 2015 21:47:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Sep 2015 21:47:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 15 23:47:54 2015 Return-path: Envelope-to: geh-help-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 1Zby4v-00029L-AN for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Sep 2015 23:47:53 +0200 Original-Received: from localhost ([::1]:46060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zby4u-0007Uk-Jx for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Sep 2015 17:47:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zby4j-0007Uc-Ke for help-gnu-emacs@gnu.org; Tue, 15 Sep 2015 17:47:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zby4i-0000kv-OU for help-gnu-emacs@gnu.org; Tue, 15 Sep 2015 17:47:41 -0400 Original-Received: from disorder-1-pt.tunnel.tserv3.fmt2.ipv6.he.net ([2001:470:1f04:51a::2]:46747 helo=acedia.primate.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zby4i-0000hH-Bw for help-gnu-emacs@gnu.org; Tue, 15 Sep 2015 17:47:40 -0400 Original-Received: from ahiker.mooo.com (localhost [127.0.0.1]) by acedia.primate.net (8.14.9/8.14.9/Debian-4) with ESMTP id t8FLlWmj014937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Tue, 15 Sep 2015 14:47:32 -0700 Original-Received: from itz by ahiker.mooo.com with local (Exim 4.80) (envelope-from ) id 1Zby4a-00062c-D0 for help-gnu-emacs@gnu.org; Tue, 15 Sep 2015 14:47:32 -0700 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:470:1f04:51a::2 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107217 Archived-At: On 2015-09-15 15:33 -0500, warren ferguson wrote: > Unfortunately, when I edit a file and try to save it, the status line > shows the usual "saving" message but that message never goes away > indicating the save completed. While the attempt to save is ongoing, I > can go to the terminal window and check that the file has not been > updated to reflect the edits. Interestingly, if I save the edited > file to a new unused file name, the save does complete. How do I > determine why emacs is unable to write over the original file? > I checked file permissions, and they don't seem to be the source of > the problem. Indeed, the emacs (version 23.2.1) that came with the OS > is able to save edits to the same file. Compare output of ldd on both binaries. Suspect selinux or other kernel "security" module. -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.