Andrew Errington wrote:
On Wed, 30 May 2007 22:00, you wrote:
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.

What group owns htdocs? Can your (non-root) user be in that group, with group permissions to write to htdocs?

I could be talking nonsense, but you asked for "a suggestion", not "a suggestion that works".

A

Actually after pushing "send" i thought the first post would probably say "panadol" so you exceeded my expectations LOL!

Yes thats probably the answer isn't it! I'll have a poke around.

Reply via email to