Comment 8 for bug 357024

Revision history for this message
Martin Pitt (pitti) wrote :

So this is indeed quite hard to reproduce. A simple ln -s /etc /var/crash/etc will not work, since find will just report the /var/crash/etc symlink and not descend. So it indeed needs the much more complex fuse/ultra-large dir trick, but the explanation makes sense to me.

I discussed this with Jamie, and did some local testing. Adding -maxdepth 1 -type f works, and I consider that a safe security update. Rewriting the statement entirely using the -prune way you described will be done in trunk.