services:labtest:old:cgi_script_permissions_within_labtest
Cgi Script Permissions in labtest mode
Taken from Steven Castellucci's testing and documentation of cgi scripts in labtest mode
His code takes input from the users' session and creates a directory for the user
in /eecs/dept/course/2014-15/S/1030/mcTests (with owner:group being
labtest:labtest)
The cgi script is located in /eecs/dept/www/www.eecs.yorku.ca/course_archive/2014-15/S/1030/Test1
Labtest directory (in /eecs/dept/www/www.eecs.yorku.ca/course_archive/): .htaccess 770 labtest index.html 740 labtest labtest.cgi 770 labtest <-writes to mc/Tests/Test1 (see below) Submission directory (in dept/course/...): mcTests 770 labtest <-710 should (in theory) suffice mcTests/Test1 770 labtest <-MC answers are saved here
Note that the cgi script runs with the permission of the user labtest and group labtest so files are created likewise
Any apache logs are kept on the local host /tmp/{access,error}_log. Here is where you will check for any script errors
services/labtest/old/cgi_script_permissions_within_labtest.txt · Last modified: 2015/07/03 09:15 by 127.0.0.1