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>(AllProcessesCommands.java:103)
    at org.sonar.application.AppFileSystem.reset(AppFileSystem.java:63)
    at org.sonar.application.App.start(App.java:53)
    at org.sonar.application.App.main(App.java:81)
Caused by: java.io.FileNotFoundException: /opt/sonarqube/temp/sharedmemory (Permission denied)
    at java.base/java.io.RandomAccessFile.open0(Native Method)
    at java.base/java.io.RandomAccessFile.open(Unknown Source)
    at java.base/java.io.RandomAccessFile.<init>(Unknown Source)
    at java.base/java.io.RandomAccessFile.<init>(Unknown Source)
    at org.sonar.process.sharedmemoryfile.AllProcessesCommands.<init>(AllProcessesCommands.java:100)
... 3 common frames omitted