I see. Of course I meant/tmp/*
On Fri, Dec 30, 2022, 1:11 PM Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
On Fri, 2022-12-30 at 12:57 -0500, Bill C wrote:
> I usually use 'rm -rf /temp/*' and have been warned against it. I
> haven't seen any problems I know of happening because of this.
Owing to how file unlinking works in UNIX/Linux systems, if a process
has a temporary file open when you delete it, it won't be removed until
the process terminates. However it's unwise to rely on this when a
temporary file might be closed and re-opened, including by a different
process. That could lead to unpredictable behaviour because of race
conditions.
poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue