Hello,
I'm new to Webwork and I'm in the process of installing Webwork 2.17 on a RHEL8 distribution. I cloned the OPL repository, when I try to run the OPL-update command (or /opt/webwork/webwork2/bin/OPL-update) as wwadmin user, it shows the following error:
Downloading the latest OPL release.
Execution of /opt/webwork/webwork2/bin/download-OPL-metadata-release.pl failed:
Error in tempdir() using /opt/webwork/webwork2/bin/FileFetch.XXXXXX: Could not create directory /opt/webwork/webwork2/bin/FileFetch.Igl0eE: Permission denied at /usr/share/perl5/vendor_perl/File/Fetch.pm line 459.
"/opt/webwork/libraries" folder is owned by wwadmin user and group. Within the libraries folder, "webwork-open-problem-library" folder is owned by root user and group. Here's what I have tried so far:
- Tried changing owner of libraries folder from wwadmin to root and tried running OPL-update as root user. It does not start the installation.
- Tried changing owner of "webwork-open-problem-library" folder from root to wwadmin and tried running OPL-update as wwadmin user. It still shows me the same error.
Please let me know how can I fix this issue.
Thank you!