Operating system name and version: Centos 7
Version of smsd: 3.1.21
Smsd installed from: source
Name and model of a modem / phone:
Interface: USB

Hi. I am running sms3 as root. I just added logrotate recently however every day it will stop after it has rotated the logs. The directories and scripts below are existing.

2019-10-14 03:28:01,2, smsd: Smsd v3.1.21 started.
2019-10-14 03:28:01,2, smsd: Running as root:root (0:0).
2019-10-14 03:28:01,2, smsd: Sent directory /home/sms/eventhandler/sent cannot be opened.
2019-10-14 03:28:01,2, smsd: Eventhandler /home/sms/eventhandler/eventhandler.sh cannot be read: Permission denied
2019-10-14 03:28:01,2, smsd: Infofile /var/run/smsd.working cannot be created: Permission denied
2019-10-14 03:28:01,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.IWb9qI /tmp/smsd_data.1VDzU3
2019-10-14 03:28:01,3, smsd: Done: startup_check (shell), execution time 0 sec., status: 32256 (126)
2019-10-14 03:28:01,3, smsd: Exec: startup_check (shell) encountered errors:
2019-10-14 03:28:01,3, smsd: ! sh: /var/spool/sms/incoming/smsd_script.IWb9qI: Permission denied
2019-10-14 03:28:01,2, smsd: Shell /bin/sh testing failed: Failed to execute test script.
2019-10-14 03:28:01,2, smsd: There was 4 major problems found.
2019-10-14 03:28:01,2, smsd: Smsd mainprocess terminated.