Getting Started

How to fix issues about File Permissions

7 views April 3, 2015 March 11, 2019 admin 0

For the application’s correct operation you must ensure that some files or directories have the proper file permissions:

  • Runtime directory: chmod -R 0777 @app/runtime
  • Assets directory: chmod -R 0777 @app/assets
  • Static Files directory: chmod -R 0777 @app/static_files
  • Database configuration file (The install script needs write permission): chmod 0777 @app/config/db.php

If the files’ owner is the web server. Then, set the file permissions to 0755. For example, if you use an FTP client such as Filezilla:

1. Open your FTP client
2. Right-click on 'runtime' directory and click on 'File permissions...'
3. Write 755
4. Check 'Recurse into subdirectories' and 'Apply to all files and directories'
5. Press ok
6. Repeat the same steps with the 'assets' and 'static_files' directories.
7. Right-click on the 'config/db.php' file and click on 'File permissions...'
8. Write 755 and Press ok

Note: If you have trouble setting permissions, get in touch with our support team and we will be more than happy to help you.

Was this helpful?