I have created a local library for our WeBWorK server for collections of problems that we have written here as well as problems from other sources that are not available in the OPL. I would like to be able to edit these pg problems from the Library Browser like I can do with problems saved in an individual course's template directory. But when I view a problem from our local library in the Library Browser and click the edit button, I am told the file is protected and that "To edit this text you must first make a copy of this file using the 'NewVersion' action below." This is even when logged in as the admin user.
The permissions of the directories and files in the local library are listed as
drwxrwxr-x wwadmin wwadmin
I saw that in the template directory of the actual courses, the user is www-data and the group is wwdata.
As an experiment, I ran chown on one of the directories in the local library to change wwadmin to www-data and wwdata for the files in that directory. I was then able to go to the Library Browser and edit a problem in that local library directory without having to make a NewVersion copy.
I did log in as a "professor" and noticed that professors could also edit these particular problems in the local library. I'm ok with that because we only have 4 people in the department and they are not likely to try any editing. (And I have backup copies if anything really did get messed up.)
But is this the best way to handle a local library and allow at least the admin to edit pg files in the local library directly from the Library Browser?