all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: notbob <notbob@nothome.com>
To: help-gnu-emacs@gnu.org
Subject: Root emacs weirdness
Date: 21 Sep 2013 11:22:06 GMT	[thread overview]
Message-ID: <slrnl3r0gq.2n3.notbob@nbleet.hcc.net> (raw)

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: #<buffer dmesg_restrict>

.....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   


             reply	other threads:[~2013-09-21 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-21 11:22 notbob [this message]
2013-09-22  0:08 ` Root emacs weirdness Bob Proulx
     [not found] ` <mailman.2682.1379808553.10748.help-gnu-emacs@gnu.org>
2013-09-22  3:00   ` notbob
2013-09-22  3:55   ` Barry Margolin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnl3r0gq.2n3.notbob@nbleet.hcc.net \
    --to=notbob@nothome.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.