Implementing fully immutable files
Implementing fully immutable files
Posted Apr 22, 2019 16:39 UTC (Mon) by wahern (subscriber, #37304)In reply to: Implementing fully immutable files by epa
Parent article: Implementing fully immutable files
I'm sure some people would find the proposed behavior of revoking mmap access useful, too. But the additional complexity is *tremendous* and, IMO, not worth the marginal benefit, even if there are a handful of organizations that *must* have the feature. I mean, if they really need such behavior they can always just terminate all processes with open file handles after making a file immutable. Messy, but at least the mess doesn't become a long-term maintenance burden for everybody else. It's a dubious guarantee, anyhow, considering how easy it will be to accidentally break the invariant.
Posted Apr 22, 2019 19:44 UTC (Mon)
by wahern (subscriber, #37304)
[Link]
Posted Apr 22, 2019 20:15 UTC (Mon)
by rweikusat2 (subscriber, #117920)
[Link]
"no data can be written to the file"
someone apparently noted that this wasn't accurate and corrected to documentation to
"the file can not be opened in write mode."
I seriously doubt that there's any organisation on this planet which suddenly "must" have this feature. Methinks this is more something like a bored Oracle guy making undirected changes to a codebase (possibly "a sufficiently well-connected, bored Oracle guy that such undirected changes actually get accepted instead of being stonewalled").
Implementing fully immutable files
Implementing fully immutable files
(Debian 7 man page)
(http://man7.org/linux/man-pages/man1/chattr.1.html)