Keywords: LAMP/MAMP/WAMP - Google Cloud Platform - Technical issue - Permissions
bnsupport ID: 2cf08e3d-8053-63e7-96d0-18ce74321c44
I leave the tool code:
I regularly follow the directions in the guide:
sudo chown -R bitnami: daemon / opt / bitnami / apps / zmov / htdocs /
sudo chmod -R g + w / opt / bitnami / apps / zmov / htdocs /
How to know what types of permissions or properties / user need the files of an application?
In this case I know what the permissions are because I have other applications running correctly on the same machine with the same configuration
But I always get complicated about the permissions and properties that are assigned when uploading new files from an application to the server because they run well but later I realize there are problems such as:
500 error in some sections or functions of the application
Users cannot upload files from the frontend etc ...
Default applications have root: root
Because when you start creating new files (either by passing the files from my pc to the server or when they are created within the same server) they are assigned as bitnami: daemon or bitnami:bitnami and not as the default applications such as DEMO or myphpadmin
The most important one is HTDOCS? or a previous directory can cause a permission error if an application is different?
Every time I start a new configuration of an application, the domain name is added to the file
# If your host doesn't have a registered DNS name, enter its IP address here.#
instead of looking like
I don't know if it's after running bncert-tool or after configuring httpd-host.conf and httpd-app.conf
the application and restart the server.