Set the umask before creating directories with specified permissions #6540

Merged
merged 1 commit into from Nov 4, 2016

Conversation

Projects
None yet
3 participants
Contributor

dooferlad commented Nov 3, 2016

Set the umask before creating directories with specified permissions so the result is predictable. Fixed tests that started failing on upgrade to 16.10.

bz2 approved these changes Nov 3, 2016

Though the umask design is mostly just a mistake, shouldn't this really defer back the original mask?

Contributor

dooferlad commented Nov 3, 2016

The umask will stay set for that process, which would only cause problems for other tests in the same suite. I think I will move it to SetUpTest so I can revert it in TearDownTest though - feels better.

Set the umask before creating directories with specified permissions …
…so the result is predictable. Fixed tests that started failing on upgrade to 16.10.
Contributor

dooferlad commented Nov 3, 2016

$$merge$$

Contributor

jujubot commented Nov 3, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Nov 3, 2016

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/9619

Contributor

dooferlad commented Nov 4, 2016

$$merge$$

Contributor

jujubot commented Nov 4, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 849d15a into juju:develop Nov 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment