On 4/4/21 7:56 AM, Dave Howorth wrote:
On Sat, 3 Apr 2021 17:28:48 -0400 DennisG <dwgallien@gmail.com> wrote:
Just note however that there are programs which will put a file under /tmp that it will use as long as it is open but will not be protected from deletion If a program does that, then it should simply keep the file open whilst it is running. If it does that then it will continue to have access to the file even if it is deleted from the filesystem.
Maybe should, but not necessarily, will. X (and presumably, other programs) writes files to /tmp that are not protected. If deleted before it is replaced with a new file (I don't know what triggers that), the server crashes. I encountered this in tests using age "1h". So essentially, this calls for the same caution that is recommended with using e.g. r, R, or age zero - i.e., timing is critical. --dg