WeBWorK Main Forum

Is this possible? Should it be?

Is this possible? Should it be?

by Louis Zulli -
Number of replies: 2
I edited a .pg file in the OPL on our server. Not a local copy, the original file. From my browser. (I no longer have shell access to the server, so it didn't happen that way.)

Was rushing to patch a badly-phrased problem. I don't recall the exact sequence of steps I took. And I haven't been able to do it again.

Was really surprised to discover I did it once.

Any idea how?
In reply to Louis Zulli

Re: Is this possible? Should it be?

by Danny Glin -
This can be possible, depending on the permissions on the OPL directory.

If the OPL directory is writeable by the web server, then any instructor will have the ability to modify OPL problems.

Most often, the OPL directory is made read-only from the web server in order to prevent it from diverging from the main OPL repository, allowing easy updates via git.  If the local version has been edited, one needs to intervene before git will update from the central repository (on github).

Danny
In reply to Danny Glin

Re: Is this possible? Should it be?

by Louis Zulli -
Thanks. That's pretty much what I was thinking. But since I haven't been able to do this again, now I'm wondering why one problem or collection of problems would have different ownership/permissions than the rest of our OPL.

Will need to contact our IT folks, who control our server now.