On 2026-07-22 at 00:04:41, Jack.R ([email protected]) wrote:
> root@nomade: ~# ls -ld /home/alain/
> drwx------ 59 alain alain 4096 21 juil. 09:44 /home/alain/

[...]

> It looks like if search of .email-remiders files was not done as root even if 
> usr/sbin/collect-reminders is launched as root (I do not get the 'This script 
> must be run as root.' error).

That's exactly the problem!

Here's the fix:

  $ sudo systemctl edit email-reminder-collect.service

  [Service]
  ExecStart=/usr/sbin/collect-reminders --verbose
  CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE

CAP_DAC_OVERRIDE is what lets root ignore file/directory permissions.

I will push an update out this week.

Merci beaucoup pour l'aide de débogage !

François

-- 
HTTPS://fmarier.org/

Reply via email to