Closed tpot closed 7 years ago
This is not really the best fix for the problem. Setting umask in the code is kind of a no-no. I think the problem is actually that the tests are trying to create a directory with too lax permissions... all they need is 0600, and they're getting created with 0777: https://github.com/natefinch/lumberjack/blob/v2.0/lumberjack_test.go#L638
So, I think just changing that code to use 0600 should fix it for you. You're welcome to give it a try, or I will when I get a few minutes.
Would be great to get this test fixed as it currently fails builds for me also.
crud, thanks for pinging me about this. I'll get it fixed ASAP.
Hi there. This particular test fails in my environment as my umask is set to 0022. This patch sets the umask for the test to be something that will allow the test to pass.