You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Summary: : We're setting up security configurations on the deployment and we need to prevent root filesystem access to the container. To do so, any file needed to be created such as uploads and logs need to be saved in a specific folder such as /app/logs or /apps/upload so that we can set granular permissions to these folders only. Currently, if we set configuration to prevent root filesystem access, we get the following error :
Steps to Reproduce:
Remove root filesystem write access and set user as non root in docker container.
Expected Behavior:
Logs are saved in logs folder for which we can set write and read permissions and the app can run fine afterwards with no elevated permissions.
Actual Behavior:
App crashes since it doesn't have permissions to write in app folder.
Description
Bug Summary: : We're setting up security configurations on the deployment and we need to prevent root filesystem access to the container. To do so, any file needed to be created such as uploads and logs need to be saved in a specific folder such as /app/logs or /apps/upload so that we can set granular permissions to these folders only. Currently, if we set configuration to prevent root filesystem access, we get the following error :
Steps to Reproduce:
Remove root filesystem write access and set user as non root in docker container.
Expected Behavior:
Logs are saved in logs folder for which we can set write and read permissions and the app can run fine afterwards with no elevated permissions.
Actual Behavior:
App crashes since it doesn't have permissions to write in app folder.
Environment:
Deployment
Commit Hash: : ghcr.io/ai-cfia/fertiscan-backend:98-add-user-and-group-to-dockerfile
OS Version: docker
Browser Version: na
Logs and Screenshots:
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Extra Screenshots:
[Attach any relevant extra screenshots]
Additional Context:
[Include any other context about the problem here.]
Suggested Fix: (facultatif)
[If you have an idea of how to fix the bug, describe it here.]
The text was updated successfully, but these errors were encountered: