Skip to content

[windows] Fix handling of Network Service username. #23723

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

Merged
merged 1 commit into from
Apr 2, 2019

Conversation

drodriguez
Copy link
Contributor

In Windows Server 2016 at least, the Network Service user (the one being
used by the CI machine) is returned as Host$, which icacls doesn't
understand. Turn the name into something that icacls if we get a name
that ends with a dollar.

In Windows Server 2016 at least, the Network Service user (the one being
used by the CI machine) is returned as Host$, which icacls doesn't
understand. Turn the name into something that icacls if we get a name
that ends with a dollar.
@drodriguez drodriguez requested a review from compnerd April 2, 2019 01:06
@compnerd
Copy link
Member

compnerd commented Apr 2, 2019

:-( sigh this is so terribly complex, I hate the read-only-ness requirements.

@compnerd
Copy link
Member

compnerd commented Apr 2, 2019

@swift-ci please smoke test and merge

@compnerd
Copy link
Member

compnerd commented Apr 2, 2019

@swift-ci please smoke test macOS platform

@compnerd compnerd merged commit 09796c7 into swiftlang:master Apr 2, 2019
@drodriguez drodriguez deleted the fix-network-service-handling branch April 8, 2019 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants