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

Implement xattr-backed unprivileged operation #17

Open
erikh opened this issue Apr 15, 2017 · 1 comment
Open

Implement xattr-backed unprivileged operation #17

erikh opened this issue Apr 15, 2017 · 1 comment

Comments

@erikh
Copy link
Member

erikh commented Apr 15, 2017

Right now, if you want to unpack tar files, you need to do it with full permissions support.

If we used xattrs or a naming scheme or a resource dir, we can store the permissions data in a way that could be restored after say a runc execution as a user.

This leaves some unanswered questions regarding user namespaces and rootless containers, but OS X could benefit greatly from this feature.

@unclejack
Copy link
Contributor

The current code doesn't handle xattrs. The only exception is the whiteout conversion. The whiteout conversion filter converts whiteouts to the overlay format.

It'd be a good idea to have an interface for handling xattrs. This would make it possible to have a default handler which writes them to the files and reads them. The alternative implementations would be responsible for storing/reading.

What do you think?

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