Skip to content

docker-compose: fix permissions in LSIF data migration

Warren Gifford requested to merge sg/document into master

Created by: slimsag

Fixes an issue reported by a customer with @efritz in https://sourcegraph.atlassian.net/jira/servicedesk/projects/SG/queues/custom/1/SG-295

When following this migration:

  • Bundle-manager is started, which creates the volume directory with 100:101 as expected
  • lsif-server's data was missing the USER directive before and thus was owned by root (if you missed the 3.13 -> 3.14 migration, https://docs.sourcegraph.com/admin/updates/docker_compose#v3-13-3-14) -In this migration, you copy the data over, so the volume has OK permissions but the data is still owned by root

This corrects that case.

Merge request reports

Loading