Sonarqube 10.5.0 version Installation on aks with azure sql database connections

Hi Team, I have been trying to Deploy sonarqube 10.5.0 version on aks cluster. but it’s restarting the pod while attaching volumes pv and pvc for the path /opt/sonarqube/data, /opt/sonarqube/logs,…etc.
It is failing due to lack of permissions for sonarqube user while running an Image and deploying sonarqube pod.
Please share options to grant permission to sonarqube user with enough privileges to mount volumes for /opt/sonarqube path.
Logs from pod:

2024.05.15 07:12:48 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2024.05.15 07:12:48 ERROR app[][o.s.application.App] Startup failure
java.lang.IllegalArgumentException: Unable to create shared memory :
    at org.sonar.process.sharedmemoryfile.AllProcessesCommands.<init>(
    at org.sonar.application.AppFileSystem.reset(
    at org.sonar.application.App.start(
    at org.sonar.application.App.main(
Caused by: /opt/sonarqube/temp/sharedmemory (Permission denied)
    at java.base/ Method)
    at java.base/ Source)
    at java.base/<init>(Unknown Source)
    at java.base/<init>(Unknown Source)
    at org.sonar.process.sharedmemoryfile.AllProcessesCommands.<init>(
... 3 common frames omitted