Re:GNU ed ate my homework
by daptaq on Sunday April 03, 2022 @01:01PM
(#30898451)
Perhaps, but you will still overwrite it when you exit the editor and let sudo copy the contents back (that being said, there might be a race condition between closing the editor and sudo noticing that the process has terminated). Not sure if this would work, but a possible workaround could be to use /dev/shm (https://www.kernel.org/doc/gorman/html/understand/understand...).
[ Parent
| on HN ]
There are no comments on this comment yet.