I've edited my root cron tab to periodically execute a script located in a particular user's folder using this command:
sudo crontab -e
When cron runs the script, this is the output:
sh: 1: /home/user/Location/Of/Script: Permission denied
I thought that the root cron had permission to do anything. I have no issue when I manually run this script as root.
I've read in the documentation that further error info can be found here:
sudo cat /var/log/syslog
Here's what I found:
Jan 30 12:30:01 backup CRON[17702]: (CRON) info (No MTA installed, discarding output)
However, I think this is probably unrelated to the permission denied issue.
So what do I really need to do?
/home/user/Location/Of/Script
? E.g.la -l /home/user/Location/Of/Script
. Incidentally, you need an MTA installed for normal internal use, even if you are not sending/receiving email externally. I'm surprised your system does not have it already installed.