One standard way to deal with this kind of thing is to open the file -
then immediately unlink the file. The file handle can continue to be
used to read / write the file.

The file is removed from the directory list (so is no longer visible).
It is  removed completely when the file handle is closed - or when app
stops running (which closes all open file handles).

May mean passing file handle around instead of  filename but that's a
trivial and automatable change.

Maybe you guys can do something similar?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853007

Title:
  nsemail and nscopy files left in /tmp

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1853007/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to