| Summary: | emacs is not selinux aware | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bill Gradwohl <bill> |
| Component: | emacs | Assignee: | Karel Klíč <kklic> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | jonathan.underwood, kklic, rvokal, ville.skytta |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 15:57:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Bill Gradwohl
2011-11-27 20:39:57 UTC
I don't have a SELinux enabled system at hand to test with, but I suppose setting backup-by-copying to t could help. M-x customize-variable RET backup-by-copying RET -> Toggle it to on Ville - Thanks for the suggestion. I didn't know it could do that. But emacs still needs to get fixed. gedit is also not selinux aware. I'm wondering what the selinux people are using when they make changes to conf files, etc. Its a PITA to keep fixing up the context and too easy to forget to do it. Hi Bill, the SELinux support will be a part of Emacs 24, which will be released soon. See bug #506060. It would be too error-prone to backport those patches to Emacs 23. Setting the backup-by-copying variable helps. I think we should not enable it by default, because it would surprise users. Furthermore, Emacs manual says the default is to backup by renaming. http://www.gnu.org/s/emacs/manual/html_node/elisp/Rename-or-Copy.html No plan to address this issue in Fedora 16. Emacs in Fedora 17 already is SELinux aware. |