Chmod for admin?

can you tell me which file to write ? or set CHMOD ?

thanks

Go to your SuiteCRM root directory and run all these 4 command one after another.

2.4 Set permissions

Set the required permissions

If you are using the terminal you can do this by running:

find . -type d -not -perm 2755 -exec chmod 2755 {} \;

find . -type f -not -perm 0644 -exec chmod 0644 {} \;

find . ! -user www-data -exec chown www-data:www-data {} \;

chmod +x bin/console

Please have in mind that:

  • The user and group name (in the above example www-data ) needs to be replaced by the actual system user and group that your webserver runs under. This varies depending on your operating system. Common web server users are as follows:

    • www-data (Ubuntu Linux/Apache)
    • apache (Linux/Apache)
  • If the group name differs from the username apache is running with, you may need 0664 instead of 0644, and 2775 instead of 2755

1 Like