Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello, @mikehermary
Could you please clarify if the only directory you can’t access is the wp-content/themes? Can you access the WordPress core installation directory - public_html
I will recommend you manually check the current permissions and ownership of the directory and verify they’re indeed 750 for directories and 640 for the files.
Running these command should not cause any harm as they’re the recommended permissions for a WordPress site.
Regards, Alex
Hello Alex,
Thanks for the reply.
When I connect to the server via SSH using sudo and use the following command cd /var/www/callkneehill.ca, Terminal displays the following message: -bash: cd: /var/www/callkneehill.ca: Permission denied.
I tried checking the permissions using ls -l /var/www/callkneehill.ca and the following message was displayed: ls: cannot open directory ‘/var/www/callkneehill.ca’: Permission denied.
If I run the sudo chown -R www-data:www-data /var/www/callkneehill.ca command, I can access the directory, but the website itself goes down.
Any ideas on why I am having issues?
Cheers,