Skip to main content
2 of 2
deleted 122 characters in body
James Z
  • 12.3k
  • 10
  • 27
  • 48

Issue with setting the proper permissions for our WordPress

We are facing an issue with setting the proper permissions for our WordPress installation located at /var/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.

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.