I see. Of course I meant/tmp/* 

On Fri, Dec 30, 2022, 1:11 PM Patrick O'Callaghan <pocallaghan@gmail.com> 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@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue