Description
As a user, I would like to see more logs of what it is doing while starting the Bamboo server docker container.
It would be nice if entrypoint.py would output a message to the Docker logs to indicate what it is doing. Otherwise, it appears to be hung when it is actually parsing the file tree to change the file ownership, especially with large Bamboo-Home directories may take a long time.
Please add more logs to the set_tree_perms method while it is setting permission.
def check_permissions(home_dir): """Ensure the home directory is set to minimal permissions""" if str2bool(env.get('set_permissions') or True) and check_perms(home_dir, env['run_uid'], env['run_gid'], 0o700) is False: set_tree_perms(home_dir, env['run_user'], env['run_group'], 0o700) logging.info(f"User is currently root. Will change directory ownership and downgrade run user to {env['run_user']}")