FG
💻 Software

Why does $ find -delete not work sometimes?

Fresh7 days ago
Mar 15, 20262217 views
Confidence Score0%
0%

Problem

I think what I'm talking about is this part of the manpage, which is just barely too indecipherable for me: Specifically, what I'm trying to do is . I realize I can use for this instead, but appears to work without issue for other names, including deep in directories (that obviously contain many ch…

Error Output

$ find . -name '.svn' -type d -delete

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why does $ find -delete not work sometimes?

Low Risk

The "security reason" is that between the time that is enumerating the files and deleting them, it may be possible for an attacker to modify one component of a file's path such that it becomes a symlink to an unexpected directory, resulting in your …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment