WeBWorK Problems

overwriting problems

overwriting problems

by Andras Balogh -
Number of replies: 2

I am using WW 2.3.1 with apache httpd-2.2.9 under Fedora 9.

I just noticed that all course instructors can modify and overwrite all library problems. Not that I don't trust my colleges ;-) but I don't like this.

I remember that it was not like this some time ago.
Maybe changing to apache 2 from 1 caused the problem,
maybe I did something wrong before I realized that I have to disable SELinux.

Any idea how to remove write permissions from libraries?

Example of current directory/file permission is
drwxr-xr-x 255 apache wwdata 36864 2006-07-07 08:38 rochester_problib
-rw-r--r-- 1 apache wwdata 1538 2005-06-23 20:02 ur_vc_6_14.pg

In reply to Andras Balogh

Re: overwriting problems

by Davide Cervone -
I see that your library directories and files are owned by the apache userid. That is not recommended. Usually the server gets access to the files through the group permission via wwdata (or global read permissions). You should probably change the ownership of the libraries to root. A command like
    sudo chown -R root rochester_problib
should do it.