Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(Installation): Adjust the data directory's permissions to 777 to allow access for users in the container. #8876

Merged
4 changes: 4 additions & 0 deletions changelog/v1.16.0-beta27/installation-fix.yaml
@@ -0,0 +1,4 @@
changelog:
- type: FIX
sam-heilbron marked this conversation as resolved.
Show resolved Hide resolved
description: >-
Adjust the permissions of the 'data' directory in the 'docker-compose-file' setup to 777 to grant access to users within the container.
3 changes: 3 additions & 0 deletions install/docker-compose-file/prepare-directories.sh
Expand Up @@ -11,4 +11,7 @@ mkdir -p ./data/artifact/artifacts/gloo-system
mkdir -p ./data/config/{authconfigs,gateways,graphqlapis,proxies,ratelimitconfigs,routeoptions,routetables,upstreamgroups,upstreams,virtualhostoptions,virtualservices,httpgateways,tcpgateways}/gloo-system
mkdir -p ./data/secret/secrets/{default,gloo-system}

# Make sure the user in the container can read/write to the data folder
chmod -R 777 ./data
sam-heilbron marked this conversation as resolved.
Show resolved Hide resolved

echo "Done"