I've searched half a day for the answer to this, with no luck. Any assistance will be appreciated.
I have a PHP script that modifies the crontab, loads a new cron job, removes some etc. The script works fine except that it says permission denied, so it can't write to the crontab.
I've determined that it might be the user trying to access the file that causes permission to be denied. Now I'm not an expert with users and groups (or Linux in general). So could someone please explain to me how I can enable access to the crontab for the linux user 'running' the website?