Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ro for locally mounted folders #1103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

atishpatel
Copy link

@atishpatel atishpatel commented Jul 17, 2024

#1055

Remove read-only config from locally mounted folders. This gives more flexibility to locally run Batch Changes since more files can be shared as output for any step where the folder is mounted. Security should be fine since mount already has to be a sub director of the batch spec file.

@atishpatel atishpatel requested a review from a team as a code owner July 17, 2024 21:27
@peterguy
Copy link
Contributor

Thank you for the contribution, @atishpatel!

As was mentioned in #1055, there could be some security concerns mounting volumes read-write, so we should pull in @sourcegraph/security-code-review and some domain experts like @eseliger and @BolajiOlajide to get their input.

@atishpatel
Copy link
Author

Thanks Peter!

I am curious what security vector the team is concerned about. I would think security should be fine since mount already has to be a sub director of the batch spec file and the container + code being run is also determined by the user. What are the the sourcegraph security team's concerns?

@atishpatel
Copy link
Author

Any updates on this PR or something like this PR? My company is using rw local mounting as a core part of tooling we're building around sourcegraph batch changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants