Michael Lake wrote:
> chesty wrote:
> > > > See if anyone has any ideas on the headers-for-images thing, otherwise you
> > > > might just have to hack in some temp filenames for the time being.
> I may be forced to go that way!

I am trying to get areound my caching prob with some temp
filename creation but get this apache warning:
sh: /home/mikel/public_html/tmp/graph.959315112.gif:
Permission denied

This is coming from my system call:
system("/usr/local/bin/graph -L 'Test gif'
/home/mikel/public_html/tmp/data >|
/home/mikel/public_html/tmp/temp.meta");

After that it will do:
system("/usr/local/bin/plot -T gif --bitmap-size 300x300
/home/mikel/public_html/tmp/temp.meta >|
/home/mikel/public_html/tmp/$filename");

which writes a new name for the gif each time like:
graph.959315276.gif

Seems like it can't write the temp.meta file. I had this
prob when using fixed filenames and I just touched the files
and changed their ownerships to nobody which apache runs as.
But now with changing filenames how do I write to them? In
fact why can't apache write a new file. It can overwrite an
existing file OK.

In /home/mikel/public_html/tmp/
-rw-rw-r--    1 nobody   nobody      41158 May 26 14:19 data
-rw-rw-r--    1 nobody   nobody      10537 May 26 14:20
order1.gif
-rw-rw-r--    1 nobody   nobody      46308 May 26 14:20
temp.meta

Mike

--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02
9514 1628 
URL: http://www.science.uts.edu.au/~mikel
Linux enthusiast, active caver and interested in anything
technical.
--------------------------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to