Keywords: WordPress - Google Cloud Platform - Technical issue - Permissions
Basically I wanted to access wp-config but after looking at some solutions, I ran this command:
sudo adduser developer www-data
sudo chown -R www-data:www-data /opt/bitnami/apps/wordpress/htdocs
sudo chmod -R g+rwX /opt/bitnami/apps/wordpress/htdocs
I didn't expect what would happen as I am a beginner, and now i am unable to upload plugins nor files.
I am trying to revert back back afraid that it would cause a system error. Please help to return the website back when Wordpress could install any plugin or upload any files. Maybe at the same time, do share how I can access wp-config.php via sftp after fixing this. Thanks!