On Thu, 25 Oct 2001, Ashwin Kotian wrote:

> Hi,
> 
> I'm running Analog 5.01 & am using the Analog form interface with output as 
> STDOUT.
> When analog is called through the form interface, it tries to generate pie-
> charts but fails with the following error:
> 
> Warning F: Failed to open pie chart file /home/httpd/html/images/dom.png for 
> writing: ignoring it
> 
> In the analog.cfg file, I've the following commands for generating pie-charts:
> 
> ALLCHART ON
> CHARTDIR /images/
> LOCALCHARTDIR /home/httpd/html/images/
> 
> Is this a permissions issue?

Yes.

> If so then what permissions should be set & the 
> images directory should be owned by which user ?

Well, it needs to be writable by whoever the cgi-bin process is running as.
This might well be some special user like "www" or "nobody".

One solution is to ensure that the cgi-bin user belongs to some special
group, and make the chart directory writable by that group. This avoids
making it world writable.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to