WeBWorK Problems

How to Create a new Problem

Re: How to Create a new Problem

by John Sylvester -
Number of replies: 0
I wrote a short emacs lisp file that implements Alex's suggestion so that I can preview when logged on to the server. Its a little special,but will get me started. The question I have now is about file permissions. Here is dir output for a course I created through the web interface:
----------------------------------------------
/opt/webwork/courses/test307/templates/setHomework1:
total used in directory 16 available 130248028
drwxr-sr-x 2 www-data wwdata 4096 May 31 12:16 .
drwxr-sr-x 12 www-data wwdata 4096 May 31 11:52 ..
-rw-r--r-- 1 www-data wwdata 1465 May 31 11:52 blankProblem.pg
-rw-r--r-- 1 www-data wwdata 1465 May 31 12:16 MyFirstNewProblem.pg
-----------------------------------------

Is it OK for me to add myself to the wwdata group and give that group write permission on the templates directory and everything below that, making sure to preserve the sticky bit on the directories.

Having done that, can I add a new problem by just writing a .pg file to that directory? Does the database keep track of any of this?

There are no students involved; this is just intended for me to write a few problems.

Thanks again for the help.