Skip to content

Draft: Set the setgid bit on the deployment dir to make sure cleanup works

This adds a line to the deployment process that sets the setgid bit on the PROJECT_DIR so that any files that e.g. the shiny process creates inside the deployment directory get owned by the gitlabcicd group.

This way, those directories can still be cleaned up when the CI/CD job runs the cleanup-repo step (as the gitlabcicd user).

Fixes CHU/shiny/stuvi#27.

Edited by Lennart Karssen

Merge request reports