Sounds like it’s having issues with the directory itself. What are the permissons on
If I’m reading this correctly, the directory /etc/ood/config/dex should be 700 ondemand-dex:ondemand-dex.
Maybe there’s some SELinux issue? Can you check in /var/log/audit?