Edit folder permissions for logs and workflows - Platform - BlueCat Gateway - 21.11.2

Gateway Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
21.11.2

For BlueCat Gateway to properly create session log files and new workflows, the Flask user inside the container must have access permissions to read and write to files inside the /logs folder.

To access BlueCat Gateway logs, you must redirect the logs to the docker logs or the /logs folder inside the Docker container. You must map these logs to an external folder on the host filesystem.

To allow a Flask user to write logs to the mapped folder, the mapped folder must have write/execute permissions for other users who are not in the folder’s group. Run the following command to give the Flask user ownership of the logs folder mapped to the <mapped logs folder> directory on your host machine:
chmod -R o=rwx <mapped logs folder>
Similarly, to allow BlueCat Gateway to read and write workflows and configuration from the mapped bluecat_gateway folder, the folder must have read, write, and execute permissions for other users who are not in the folder’s group. Ensure the BlueCat Gateway container is running and execute the following command:
chmod -R o=rwx <mapped bluecat gateway folder>