Feature changed by: Karl Cheng (qantas94heavy) Feature #318432, revision 5 Title: FUSE filesystem to keep /etc/ valid - openSUSE Distribution: Unconfirmed + openSUSE Distribution: Duplicate of #310713 + Master status: New Priority Requester: Neutral Requested by: Sławomir Lach (lachu) Partner organization: openSUSE.org Description: Editing files is road of pain. User can destroy file, so system can be broken. I suggest to add fuse-based file system with BFS(language to describing file structure) to keep file validated, while closed. It buffer or write in /tmp every write operation and check consistency on file close. If file is good, filesystem will replace file placed in /etc. + Relations: + - Put /etc under (git) version control (feature/duplicate: 310713) Discussion: #1: Sławomir Lach (lachu) (2015-02-06 18:23:50) Because we can describe file structure by special language, we can (in future) create generic tool to edit files. #2: Sławomir Lach (lachu) (2015-02-06 18:29:51) And of course, text editors can read meta files to check file structure. Actually many text editors check file structure to shows errors, but there's no standard way to do this. #3: Ruediger Meier (rudi_m) (2015-03-17 09:55:39) "Editing files is road of pain." Hm, I don't think editing files is a pain as long as my editor writes the open file immediately when I told him to save it. "User can destroy file, so system can be broken." Actually users can't write to /etc. It's usually only root and root should be allowed to break everything. What would be the next step? A shell where you are only able to type commands which "make sense somehow"? -- openSUSE Feature: https://features.opensuse.org/318432