Search

Help,

A client hosting on RackSpace cannot upload any files or save any files the following permission error is shown:

Please check permissions on /workspace/. Please check permissions on /workspace/xxxx

The site has the healthcheck extension installed which shows all permissions are correct - https://www.dropbox.com/s/igkq51k5r7qzhqk/Screenshot%202014-11-05%2022.07.42.png?dl=0 although trying to set a permission via the healthcheck results in a chmod error - chmod(): Operation not permitted

Attachments:
Screenshot 2014-11-05 22.07.42.png

Using 0755 only allows the owner to write files into a directory. You need to write files with Symphony, which means with the PHP user. If you uploaded the files with a different user (an FTP user, maybe), this won't work.

Basically you have two choices:

  • Use 0775 or even 0777 permissions for all folders (and 0664 resp. 0666 for files)—this is what most people do, but it is surely not the best way to deal with it.
  • Think about the different users in the server. Some files only need to be written by PHP, other must be writable for you, the admin. And some (like the config file, for example) may need access from both users. You can change permissions more wisely then.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details