Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleFile System Permissions

Most directories in Rogō should be set up to be writable by the owner only:

drwxr-xr-x

Exceptions to this rule include the following directories which need to allow higher write privileges:

  • `<rogo-data-dir>/help/staff/images``<rogo-dir>
  • `<rogo-data-dir>/help/student/images`
  • `<rogo-dir>`<rogo-data-dir>/media`
  • `<rogo-dir>`<rogo-data-dir>/email_templates`
  • `<rogo-dir>`<rogo-data-dir>/qti/imports``<rogo-dir>
  • `<rogo-data-dir>/qti/exports`
  • `<rogo-dir>/config` - for installation only, so that config.inc.php can be written. This should be changed back to being writable by the owner only after installation.
  • `<rogo-dir>`<rogo-data-dir>/users/photos`
  • `/tmp`

For these writable directories the permissions should be set to drwxrwxr-x for the user that Apache runs as.

Note:
The path to the temporary directory (e.g. /tmp) is configurable in /config/config.inc.php.

...