Skip to content

Commit

Permalink
Fix #44313 bitnami/suitecrm:7 fails to come up due to group ownersh…
Browse files Browse the repository at this point in the history
…ip set to `root`.

Signed-off-by: Chris Coleman <colemanchris@hotmail.com>
  • Loading branch information
chris001 authored Aug 11, 2023
1 parent c48662f commit 74ea0f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ info "Configuring file permissions for SuiteCRM"
ensure_user_exists "$WEB_SERVER_DAEMON_USER" --group "$WEB_SERVER_DAEMON_GROUP"
for dir in "$SUITECRM_BASE_DIR" "$SUITECRM_VOLUME_DIR" "${SUITECRM_BASE_DIR}/tmp"; do
ensure_dir_exists "$dir"
# Use daemon:root ownership for compatibility when running as a non-root user
configure_permissions_ownership "$dir" -d "775" -f "664" -u "$WEB_SERVER_DAEMON_USER" -g "root"
# Use daemon:daemon ownership for compatibility when running as a non-root user
configure_permissions_ownership "$dir" -d "775" -f "664" -u "$WEB_SERVER_DAEMON_USER" -g "$WEB_SERVER_DAEMON_USER"
done

# Configure required PHP options for application to work properly, based on build-time defaults
Expand Down

0 comments on commit 74ea0f8

Please sign in to comment.