Version 6 pre-stable
This version of Silverstripe CMS has not yet been given a stable release. See the release roadmap for more information. Go to documentation for the most recent stable version.

Filesystem permissions

During runtime, Silverstripe CMS needs read access for the webserver user to your webroot. When the GraphQL module is installed it also needs write access for the webserver user to the following locations:

  • .graphql-generated: This directory is where your schema is stored once it has been built. Best practice is to create it ahead of time, but if the directory doesn't exist and your project root is writable, the GraphQL module will create it for you.
  • public/_graphql: This directory is used for schema introspection. You should treat this folder the same way you treat the .graphql-generated folder.