Comment 1 for bug 357024

Revision history for this message
Stephane Chazelas (stephane-chazelas) wrote : Re: [Bug 357024] [NEW] security hole in /etc/cron.daily/apport

2009-04-07 13:33:01 -0000, Stephane Chazelas:
[...]
> Maybe a better way to write it:
>
> cd /var/crash &&
> find . ! -name . -prune \( -type f -mtime +7 -o -size 0 \) -exec rm -f {} +
[...]

Sorry, misplaced braces above:

find . ! -name . -prune -type f \( -mtime +7 -o -size 0 \) -exec rm -f {} +

Best regards,
Stephane