Gradle file permissions for Centos 8

Hello to all.
I am installing Silverpeas 6 on Centos 6.
I have an error when i run ./silverpeas for the first time.
The error message recomments to seek help from help.gradle.org

[mepsaadmin@localhost bin]$ ./silverpeas configure

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not update timestamp for /opt/silverpeas-6.1-wildfly18/bin/.gradle/6.5/gc.properties

/opt/silverpeas-6.1-wildfly18/bin/.gradle/6.5/gc.properties (Permission denied)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 42s

IDLE
[mepsaadmin@localhost bin]$