Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: