[Bug 259808] etc/periodic/daily/100.clean-disks: Fix error (Directory not empty) when removing ports matching '*.core'

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Nov 2021 14:01:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259808

--- Comment #1 from Andriy Gapon <avg@FreeBSD.org> ---
There is nothing terribly special about /usr/ports, there can be other places
where *.core is a precious file or directory.
So, the script should be extended with a notion of configurable excluded paths.

Or, better yet, just don't use this script.  I think that the idea that a
certain name pattern would match only useless files globally can be dangerous.

-- 
You are receiving this mail because:
You are the assignee for the bug.