We are currently facing an issue with setting the proper permissions for our WordPress installation located at /var/www/wordpressvar/www/wordpress on our Web App - Azure server.
We are attempting to set the following permissions using the following commands:
chown www-data:www-data -R * (to let Apache/nginix be the owner) find . -type d -exec chmod 755 {} ; (to change directory permissions to rwxr-xr-x) find . -type f -exec chmod 644 {} ; (to change file permissions to rw-r--r--) However, we are unable to apply these changes successfully. Could you kindly assist us in troubleshooting this issue and provide any guidance on how we can resolve it? Additionally
Additionally, is there any option in the Azure Portal to modify the configuration so that I can apply chmod 755 and chmod 644?
I am getting this error continuously, and I cannot proceed with the configuration of my application until these permissions are fixed, as SSH commands are not working to adjust them. I'm not sure where else in Azure I can adjust these permissions.
Thank you for your support.
chown www-data:www-data -R * (to let Apache/nginix be the owner)
find . -type d -exec chmod 755 {} ; (to change directory permissions to rwxr-xr-x)
find . -type f -exec chmod 644 {} ; (to change file permissions to rw-r--r--)