Forum archive 2000-2006

Šarūnas Burdulis - Permissions to execute gif2eps?

Šarūnas Burdulis - Permissions to execute gif2eps?

by Arnold Pizer -
Number of replies: 0
inactiveTopicPermissions to execute gif2eps? topic started 9/6/2005; 4:03:59 PM
last post 9/7/2005; 9:30:21 AM
userarūnas Burdulis - Permissions to execute gif2eps?  blueArrow
9/6/2005; 4:03:59 PM (reads: 458, responses: 2)
After upgrading from CVS (in order to fix the old answer display problem) we seem to run into soem strange "permission" problem (inserted below). Permissions on conversion scripts did not change and allow execution to anyone. Apache config did not change either. is this a known situation, any workarounds?

* ERROR in old_safe_ev, PGbasicmacros.pl:

* ## There is an error occuring inside evaluation brackets { ...code... } * ## somewhere in an EV2 or EV3 or BEGIN_TEXT block. * ## Code evaluated: * ## imageRow(@graph_path, @caps) * ##The webwork server does not have permission to execute the gif2eps script at /usr/bin/giftopnm | /usr/bin/ppmtopgm| /usr/bin/pnmtops -noturn 2>/dev/null. at line 852 of [PG]/macros/dangerousMacros.pl. * ## * at [PG]/macros/dangerousMacros.pl line 1376

<| Post or View Comments |>


userDavide P. Cervone - Re: Permissions to execute gif2eps?  blueArrow
9/6/2005; 4:28:06 PM (reads: 549, responses: 0)
The way that the image-conversion programs are specified changed in a recent update to global.conf. The files in webwork2/bin are no longer used, and there are new variables in global.conf that tells where the programs are to be found. You may need to adjust these.

Davide

(PS, my copy of dangerousMacros.pl has this error message commented out due to the change in the way the commands are specified. You might not have the current version of dangerousMacros?)

<| Post or View Comments |>


userarūnas Burdulis - Re: Permissions to execute gif2eps?  blueArrow
9/7/2005; 9:30:21 AM (reads: 545, responses: 0)
Thanks! It turned out dangerousMacros.pl were not current.

Sarunas

<| Post or View Comments |>