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 after failed unpack #174

Closed
hallyn opened this issue Sep 20, 2017 · 2 comments
Closed

clean up after failed unpack #174

hallyn opened this issue Sep 20, 2017 · 2 comments
Milestone

Comments

@hallyn
Copy link
Contributor

hallyn commented Sep 20, 2017

If you 'umoci unpack --image x:y dest', and there is an error in the x:y config, then dest will remain on disk, partially unpacked. There may be reasons not to, but offhand it seems most intuitive to clean up.

@cyphar
Copy link
Member

cyphar commented Sep 20, 2017

Yes, that makes sense. Especially since if you're an unprivileged user then rm -rf might not actually work, and you need umoci to be clever about emulating CAP_DAC_OVERRIDE.

@cyphar cyphar added this to the 0.4.0 milestone Sep 20, 2017
@hallyn
Copy link
Contributor Author

hallyn commented Sep 20, 2017 via email

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

No branches or pull requests

2 participants