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

Create directories for tar files with relaxed permissions #4440

Merged
merged 1 commit into from
Mar 10, 2014

Conversation

koterpillar
Copy link
Contributor

This fixes #4068 by recreating the AUFS directories without explicitly restricting permissions, just like the tar command does by default (both will still follow the set umask value).

It's still not perfect - the explicitly set directory permissions in the parent image are lost - but better than completely broken images.

P.S. As you can see, 600 != 0600.

Docker-DCO-1.1-Signed-off-by: Alexey Kotlyarov <alexey@infoxchange.net.au> (github: koterpillar)
@crosbymichael
Copy link
Contributor

ping @creack

@creack
Copy link
Contributor

creack commented Mar 10, 2014

LGTM

@creack
Copy link
Contributor

creack commented Mar 10, 2014

/cc @crosbymichael

@crosbymichael
Copy link
Contributor

LGTM

crosbymichael added a commit that referenced this pull request Mar 10, 2014
Create directories for tar files with relaxed permissions
@crosbymichael crosbymichael merged commit ca3369d into moby:master Mar 10, 2014
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.

Docker 0.8.0: Seeing container directory permission differences from same image on Ubuntu vs. Arch
3 participants