WW 2.17 on Ubuntu 20.04
When attempting to archive a particular course, the first page (Report on database structure/Directory structure) shows all checks are passed (all green), then when I click "archive" the following error occurs:
attempting to archive:
An error occured while archiving the course Math1503_Fall_2022:
Failed to archive course directory '/opt/webwork/courses/Math1503_Fall_2022' with command '2>&1 /bin/tar -C /opt/webwork/courses/Math1503_Fall_2022/.. -czf /opt/webwork/courses/221dc010-9cff-11ec-84ad-c85e7b1c8c9f_Math1503_Fall_2022.tar.gz Math1503_Fall_2022' (exit=2 signal=0 core=0): /bin/tar: Math1503_Fall_2022/templates/linear_algebra: Cannot open: Permission denied /bin/tar: Exiting with failure status due to previous errors at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm line 2339.
On a second run-through the Report on database structure/Directory structure now reports:
html_temp => /var/www/html/wwtmp/Math1503_Fall_2022 missing
Five other courses from the same term archived fine, only this one experiences the issue.
I found a post from 2015 regarding permissions, but not sure if the approach recommended back then would still be advised.
Any help appreciated.