Skip to content

DonutCleaner 0.2.1

Choose a tag to compare

@DonutsDelivery DonutsDelivery released this 09 Nov 00:05

Root actions now go through a separate helper, donutcleaner-helper, with its own polkit action (online.donutsdelivery.DonutCleaner.helper, auth_admin_keep). The password prompt names DonutCleaner, and the app no longer asks polkit to run rm, pacman, paccache or journalctl directly.

The helper accepts seven fixed operations: clear the pacman cache, trim the journal, empty /var/cache/debtap or /var/lib/systemd/coredump, remove orphans, remove named packages, and remove direct children of /opt, /usr/local/bin and /usr/local/sbin. It checks package names and paths, never follows symlinks, and refuses protected packages and files a package owns.

Files that live directly under /usr, /bin or /sbin are no longer removed by path. Remove those with the package manager.

Arch: yay -S donutcleaner (builds from source) or yay -S donutcleaner-bin. Both install the helper and the policy. The tarball has donutcleaner-helper and the policy file, with install steps in the README. The standalone binary has no helper, so root actions stay unavailable until you install the two files.