Unable to delete or change the homepage image

hi,
After upgraded to version 2.4.6. When I try to delete “homepage image”, nothing happens, and when I try to upload a replacement, It doesn’t let me. I have tries to upload the new cover in all three of jpg, bmp and png format with the same result. I’ve looked into the logs, what I see:

"ojs2 has produced an error\n Message: WARNING:move_uploaded_file(public/journals/1/homepageImage_en_US.jpg): failed to open stream: Permission denied\n In file: /var/www/mh/lib/pkp/classes/file/FileManager.inc.php\n At line: 112\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.3.3\n Apache Version: Apache/2.2.15 (Red Hat)\n http://www.mh.ca/index.php/cbmh/manager/saveSetup/5

ojs2 has produced an error\n Message: WARNING: move_uploaded_file(): Unable to move ‘/tmp/phpxDvVWP’ to ‘public/journals/1/homepageImage_en_US.jpg’\n In file: /var/www/cbmh/lib/pkp/classes/file/FileManager.inc.php\n At line: 112\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5
.3.3\n Apache Version: Apache/2.2.15 (Red Hat)\n DB Driver: mysql\n DB server version: 5.1.73, referer: http://www.mh.ca/index.php/cbmh/manager/saveSetup/5

It looks like to me a permission denied but I’m not sure where to check ? and how to fix

thanks for all your helps.

Hi @Ptran,

This is a file permissions problem in the public/ directory; double-check that permissions are set there. There’s more information on permissions in docs/README and also in the FAQ.

Regards,
Alec Smecher
Public Knowledge Project Team