-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: Skip permissions test when running as sudo #33847
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
Conversation
Is this a known failure?
Restarting CI to see. |
Looks like the Travis failure is from one of the newly-implemented freq checks. Should be unrelated. I'll try to track that down. |
Is chmod(0) even valid? Wonder if we are just using the wrong bit setting and instead shouldn't do something like |
On my system, that results in a file with these permissions.
|
Yea not sure that is specified by POSIX though; at least according to Wikipedia I don’t see anything about that, so perhaps the lack of a standard could explain why it doesn’t appear to work on all systems:
https://en.wikipedia.org/wiki/Chmod <https://en.wikipedia.org/wiki/Chmod>
On Apr 28, 2020, at 8:57 AM, Tom Augspurger ***@***.***> wrote:
On my system, that results in a file with these permissions.
---------- 1 taugspurger wheel 0B Apr 28 08:22 a
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#33847 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAEU4UL2G4HBCRU66QU6ZSDRO34FBANCNFSM4MS2RIUA>.
William Ayd
[email protected]
|
could do an |
I'm happy with the skip as written.
…On Tue, Apr 28, 2020 at 11:03 AM jbrockmendel ***@***.***> wrote:
could do an os.geteuid() == 0 check?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33847 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKAOIWGFTKCXOGQP43TAQDRO3433ANCNFSM4MS2RIUA>
.
|
this lgtm. |
Thanks @TomAugspurger |
@meeseeksdev backport to 1.0.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
xref #33300 (comment) |
Closes #33210