Skip to content
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

Clean up file ownership issues #1493

Merged
merged 7 commits into from
Nov 25, 2019
Merged

Clean up file ownership issues #1493

merged 7 commits into from
Nov 25, 2019

Conversation

mthalman
Copy link
Member

@mthalman mthalman commented Nov 22, 2019

Installing PowerShell in SDK image leaves behind world-writable directories without sticky bit set, namely /tmp/NuGetScratch. These changes fix this in the 3.1 SDK images by clearing the local NuGet resources.

In addition, the files extracted from the .NET tar files end up not having ownership by the user.

Adding a unit test to verify these issues in the 3.1 SDK images.

Related: #1454

@mthalman mthalman changed the title Clear local NuGet resources after PowerShell install Clean up file ownership issues Nov 22, 2019
3.1/runtime/alpine3.10/arm64v8/Dockerfile Outdated Show resolved Hide resolved
@mthalman mthalman merged commit fd7733a into dotnet:nightly Nov 25, 2019
@mthalman mthalman deleted the issue1454 branch November 25, 2019 16:13
mthalman added a commit to mthalman/dotnet-docker that referenced this pull request Dec 2, 2019
@mthalman mthalman mentioned this pull request Dec 2, 2019
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