I'm new and find it a struggle to work with the permissions settings on AWS lightsail bitnami Wordpress.
I don't understand why do I have permissions restrictions despite login in as bitnami root user?
I use Cyberduck and login as bitnami with SSH key and yet I don't have permissions to delete files/folders.
Is there a cheatsheet to quickly set the permissions for Wordpress development purpose (for instance, write permissions to folders and files like wp-content, wp-includes, php.ini, .htaccess, wp-config.php, ..etc and to be able to delete, edit via sftp)and reset it once everything is completed?
I'm also confused with the directory structure. what is the difference between these two directory structures
/opt/bitnami/apps/wordpress/htdocs/
and/home/bitnami/apps/wordpress/htdocs
? They seem to sync with each other. Which is the right directory to use or either is fine?
I'm not sure if this is the right community to ask, if not please kindly direct me to the right community.
Thanks