On Sat, 23 Jun 2018 02:51 Lars Kruse, <de...@sumpfralle.de> wrote: > Otherwise we will run apt_all as > root (as suggested above). >
That would be the obvious fix, as we do not mix statefiles from different users in the same directory for security purposes. It is much easier to secure a whole directory than individual files. That said, the cronjob could also be tweaked to use the "nobody" directory as it runs as root, but it might be counterintuitive as where the state is written. Steve Schnepp