I want to have a script updating a web page. Basically it downloads a podcast file, amends some tags and saves it to a directory in apache's htdocs, (and from there I have other podcast reading software read it.) It needs to be run via cron.

I don't want to run the script as root, but the htdocs area is all owned by root.

I seem to be completely clueless about how to get the script to be able to update in the htdocs hierarchy, it could be the headache i have, or the headache could be caused by thinking about it. I can only come up with either changing ownership of directories inside /var/www/localhost/htdocs (yuk) or running the script as root (yuk).

So someone make a suggestion and save my brain.

Reply via email to