-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
pkg: Fix dir permission check on Windows #11945
Conversation
I would have expected not to do a permission check on dirs in Windows instead of still doing the check and requiring |
AFAIK, I suppose all NTFS file systems return 0777. But that's too much details, keep the scope to Windows is enough for now. |
eb2502e
to
e06006e
Compare
@polyrabbit thanks for verifying the permission and commit title update. |
@cretz hi, can you please take a look to the changes or do a quick test in your env, and see if you are good with them? Thanks! |
@spzala - I'll have to setup a simple script to run embedded etcd...may be able to get to it in a few hours, I'll update if I can. |
@cretz - sounds great, I really appreciate it, thank you so much! |
I have confirmed this works on Windows by simply putting Ideally a Windows CI could be leveraged to save others from this kind of manual verification. |
@cretz thanks much for verifying it. Will merge this PR later today! |
…-upstream-release-3.3 Automated cherry pick of #11945
…-upstream-release-3.4 Automated cherry pick of #11945
Permissions on Windows is different from *nix. This PR separates them.
@spzala