

This is probably an artifact of running some of the scripts as root.
Most likely you can just delete the folder at /opt/webwork/libraries/webwork-open-problem-library/OpenProblemLibrary/fileFetch.H1nftW. That folder was probably created as a temporary location for downloaded files. It's worth looking to see what's in that folder to make sure that it doesn't look like anything important.
Can't opendir(/opt/webwork/libraries/webwork-open-problem-library/OpenProblemLibrary/FileFetch.H1nftW): Permission denied
at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor.pm line 699.
> resulted in some different results
Can you please share what results you received from running the `download-OPL-metadata-release`?
Sure thing!
Found OPL METADATA release v2022-05-30.
Downloaded release archive, now extracting.
Restoring OPL tables from release database dump.
OPL path seems to be /opt/webwork/libraries/webwork-open-problem-library/
WARNING: Forcing protocol to TCP due to option specification. Please explicitly state intended protocol.
Removing temporary files.
Done!
Can't opendir(/opt/webwork/libraries/webwork-open-problem-library/OpenProblemLibrary/FileFetch.H1nftW): Permission denied
at /opt/webwork/webwork2/bin/generate-OPL-set-def-lists.pl line 62.
Here is the upshot:
- The OPL-update was not running correctly unless it was being run as sudo -E.
- Doing so created a FileFetch directory under the courses folder that could not be accessed by anyone other than root.
- Manually resassigning ownership and setting permissions to 755 resolved my errors.
- Since we only run the OPL-update script between semesters, I am happy to document the workaround and use it in perpetuity.
Thanks to all who chimed in, it was very helpful!