New submission from Ryan Gonzalez <rym...@gmail.com>:
If e.g. a tar archive is extracted that has dates from several months ago, if systemd-tmpfiles runs to clean up data, then it may delete that data while the directory is still being used. This can be avoided by holding a LOCK_SH on the directory while it's being used. ---------- components: Library (Lib) messages: 348295 nosy: refi64 priority: normal severity: normal status: open title: TemporaryDirectory objects should LOCK_SH to avoid being deleted by systemd-tmpfiles type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37650> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com