[pca] strange 137137 patch

Martin Paul martin at par.univie.ac.at
Mon Jun 8 14:23:52 CEST 2009


Gerard,

> 13:13:33 ERROR 500: Update option unavailable: Can't write to 
> /var/apache2/2.2/cgi-bin/pca-proxy.cgi.
> ...
> The server is configured as follow:
> root at www2:/var/apache2/2.2/cgi-bin# cat /etc/pca-proxy.conf
> ...
> update=auto

That's the problem. If "update" is set to "auto", pca (in that case 
pca-proxy.cgi) will try to update itself, and therefore must be writable 
for the user who runs pca. This would be "webservd" here.

> does it mean that apache need to write the file pca? That seems to be ok 
> if i chmod pca* (chmod +w pca*)

You could change ownership for pca-proxy.cgi to webservd and make it 
writable for that user only (e.g. mode 755). Or remove the 
"update=auto". As changes or updates to the proxy functionality are 
rare, you won't miss much with auto-update disabled.

Martin.



More information about the pca mailing list