From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: notbob Newsgroups: gmane.emacs.help Subject: Root emacs weirdness Date: 21 Sep 2013 11:22:06 GMT Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1379762714 17781 80.91.229.3 (21 Sep 2013 11:25:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Sep 2013 11:25:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 21 13:25:18 2013 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 1VNLJN-0000AY-LM for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Sep 2013 13:25:17 +0200 Original-Received: from localhost ([::1]:59604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNLJN-0004sK-8q for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Sep 2013 07:25:17 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: individual.net 81gZyoICEymGVhADC+9O8wW7wavXYs3c2uEF6asHZV3IYohLxb Cancel-Lock: sha1:q57kvEkvmJ96ZEqFOUpUOl5BzMw= User-Agent: slrn/0.9.9p1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:201220 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:93489 Archived-At: While learning about linux gutz, I used emacs dired by root to edit /proc/sys/kernel/dmesg_restrict file from a 1 to a 0. Opened emacs / from root, then went to said dir and edited file. Upon trying to edit file using e, I get this in the mini-buffer: Buffer is read-only: # .....but, I was then able to edit the file, nonetheless. ??? File permissions are 644. When it came time to save the dmesg_restrict file using C-x C-s, I get: Cannot modify backup file ....something or other..... IO error writing /proc/sys/kernel/dmesg_restrict: Invalid argument .....and then do C-x k, I get the std 'still wanna kill buffer' question (y). Yet, in the end, the file is modified. Also, jumping up to the parent dir (/proc/sys/kernel), I see no back-up file (foo~) is created. I tried this 4-5 times, trying to get the first part of the above error msg and on the 5 try, it DID indicate the file has been saved (wrote). !?!? What the heck is --or is not-- going on?? I'm using emacs 23.3.1 on Slackware 13.37. nb