unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Emacs and SELinux contexts
Date: Sun, 06 Jun 2010 23:39:39 -0700	[thread overview]
Message-ID: <4C0C942B.8050002@gmail.com> (raw)

Hi everyone,

I have noticed something with emacs on GNU/Linux systems. When you edit 
something with Emacs, the SELinux  context of the file doesn't stay 
preserved. This could be an issue when you edit configuration or policy 
files as root. A system setting file usually has a context like this,

system_u:object_r:usr_t:s0

but upon editing with Emacs it changes to

unconfined_u:object_r:usr_t:s0

I don't know how severe this is but maybe its worth looking at? 
Specially when this problem is absent for other editors. I tried this 
with nano, vim and  mousepad. None of them had this issue. Can this be 
filed as a bug? Where would be the appropriate place to file this? The 
Emacs bugzilla or the bugzilla for my distribution?

Thanks for any suggestions.

-- 
Suvayu

Open source is the future. It sets us free.



             reply	other threads:[~2010-06-07  6:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-07  6:39 Suvayu Ali [this message]
2010-06-07  9:58 ` Emacs and SELinux contexts Juanma Barranquero
2010-06-07 14:48   ` Suvayu Ali
     [not found] <mailman.22.1275892792.30245.help-gnu-emacs@gnu.org>
2010-06-07  7:10 ` Glenn Morris
2010-06-07 16:27 ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4C0C942B.8050002@gmail.com \
    --to=fatkasuvayu+linux@gmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).