phppermissionssymphony-cms

Error: Destination folder is not writable


Error when trying to upload image in Symphony

Destination folder is not writable. Please check permissions on /workspace/images/x

I changed the ownership of "x" directory to apache:apache, even gave it 777 and still get the error.

Website was created and tested in VM, and we were able to upload other images in the same section before moving to the live version. I have tried to upload the same 120kb image that worked before.

EDIT: The similar happens if I try to create page with Blueprints>Pages I get

Page Template could not be written to disk. Please check permissions on /workspace/pages

In addition, on login I get a message

The Symphony configuration file, /manifest/config.php, is not writable

All those files are owned by apache and have 664 and directories 775

Symphony was installed by saving sql from phpmyadmin of local symphony installation and importing it into live server's database; then running /install


Solution

  • Check if in your production system is enforced with SELinux

    sestatus -v

    If you have it enabled, you must add your writeable folder to the httpd_sys_rw_content_t context.

    check the Allowing ReadWrite Access section in http://www.serverlab.ca/tutorials/linux/web-servers-linux/configuring-selinux-policies-for-apache-web-servers/