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

Ensure Buildbot master files are owned by servo #334

Merged
merged 1 commit into from May 5, 2016

Conversation

@aneeshusa
Copy link
Member

aneeshusa commented Apr 22, 2016

If the Buildbot master is ever erroneously started as root, the
permissions on a variety of files in the Buildbot master dir are
clobbered and the Buildbot master process is unable to access them.
Use a file.directory state to set ownership to servo:servo for the
whole folder, so that a highstate will restore the correct permissions
in case this happens.

Fixes #332. r? @edunham


This change is Reviewable

If the Buildbot master is ever erroneously started as root, the
permissions on a variety of files in the Buildbot master dir are
clobbered and the Buildbot master process is unable to access them.
Use a file.directory state to set ownership to servo:servo for the
whole folder, so that a highstate will restore the correct permissions
in case this happens.
@edunham
Copy link
Contributor

edunham commented May 5, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 5, 2016

📌 Commit 15f2f44 has been approved by edunham

@bors-servo
Copy link
Contributor

bors-servo commented May 5, 2016

Testing commit 15f2f44 with merge 46103f7...

bors-servo added a commit that referenced this pull request May 5, 2016
Ensure Buildbot master files are owned by servo

If the Buildbot master is ever erroneously started as root, the
permissions on a variety of files in the Buildbot master dir are
clobbered and the Buildbot master process is unable to access them.
Use a file.directory state to set ownership to servo:servo for the
whole folder, so that a highstate will restore the correct permissions
in case this happens.

Fixes #332. r? @edunham

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/334)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 5, 2016

☀️ Test successful - travis

@bors-servo bors-servo merged commit 15f2f44 into servo:master May 5, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.