-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[content-service] enable public read on gitpod repo root folder #10229
Conversation
0bf22ca
to
cb37f1b
Compare
/hold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected.
When we checkout git repo, we correctly set permissions to 0755, but it is done in ws-daemon via git initializer.
But why not move it to where it create?
@mustard-mh |
So change this to 0755 should works
|
/hold |
b6edfd4
to
792b7cd
Compare
@mustard-mh you are 💯 right! I thought I tried that change and for some reason it was not working, but I guess I messed something up when testing that exact fix. 🤦♂️ |
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/werft run 👍 started the job as gitpod-build-pavel-images-640.9 |
@sagor999 what do you mean by |
/werft run 👍 started the job as gitpod-build-pavel-images-640.10 |
/werft run 👍 started the job as gitpod-build-pavel-images-640.11 |
/werft run 👍 started the job as gitpod-build-pavel-images-640.12 |
792b7cd
to
0f82a72
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased with main (preview environment would not build, was getting install config validation errors), and tested with the working preview environment, and the following worked like a champ:
touch private.env
docker-compose up db
cc: @alanwilter
Nice work, @sagor999 ! 💪
Description
This fixes permissions on gitpod repo to ensure it has public read enabled (breaks some workflows that relies on that).
Related Issue(s)
Fixes gitpod-io/workspace-images#640
How to test
Start a new workspace in current production.
do
ls -la /workspace
and notice that permissions on gitpod repo are 0750.Start a workspace from preview env of this PR
do
ls -la /workspace
and notice that permissions on gitpod repo are now set to correct 0755.Release Notes
Documentation