I have a file in /etc/cron.d with 606 permissions to be run by root.
The intention is to provide read & write access to 'others' via 606 to allow a script to modify the file.
Cron does not want to run it and provides a "(root) BAD FILE MODE" message.
I have discovered that Cron is picky with file permissions and that using 640 or 644 permissions would be more acceptable, but then a script wouldn't be able to edit it.
Is there any way that cron can be configured to accept 606? Alternatively, is there any way a script could modify a cron file without root privileges?