## WeBWorK Main Forum

### hardcopy error

by Zak Zarychta -
Number of replies: 1

Whilst trying to generate a hardcopy of a problem set I encountered the following error. I thought it may be due to one of the questions that I authored so I made a copy of the set and took all but one question out to no avail. Any ideas?,Regards,Zak

Hardcopy Generator

1 error occured while generating hardcopy:

Couldn't create temporary working directory: Error in tempdir() using /opt/webwork/courses25/FYO-00026/html/tmp/hardcopy/work.XXXXXXXX: Parent directory (/opt/webwork/courses25/FYO-00026/html/tmp/hardcopy) is not writable at /opt/webwork/webwork25/lib/WeBWorK/ContentGenerator/Hardcopy.pm line 571
In reply to Zak Zarychta

### Re: hardcopy error

by Zak Zarychta -
SOLVED: It turned out that some of the files were owned by root and changing the ownership to apache sorted the problem