Skip to content

Conversation

@Strum355
Copy link
Contributor

In development, when docker runs as root (as is default), auto-indexing is not successful as the devenv is running as non-root. This causes LSIF dumps from lsif-java to fail to upload with error: error: open dump.lsif: permission denied. In-line with other indexers, this PR makes lsif-java emit the LSIF dump with world-read permissions

@Strum355 Strum355 requested a review from olafurpg July 22, 2021 12:53
@Strum355 Strum355 self-assigned this Jul 22, 2021
Copy link
Contributor

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@olafurpg
Copy link
Contributor

[warn] lsif-semanticdb/src/main/java/com/sourcegraph/lsif_semanticdb/LsifWriter.java isn't formatted properly!

Missing sbt compile to fix that

@Strum355 Strum355 force-pushed the nsc/dump-permissions branch from 0afe645 to cfa4bbc Compare July 22, 2021 12:56
@Strum355 Strum355 merged commit fbfd0bc into main Jul 22, 2021
@Strum355 Strum355 deleted the nsc/dump-permissions branch July 22, 2021 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants