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

Getting the capability data value to write to write to tar header #20

Open
rmohr opened this issue Dec 29, 2020 · 0 comments
Open

Getting the capability data value to write to write to tar header #20

rmohr opened this issue Dec 29, 2020 · 0 comments

Comments

@rmohr
Copy link

rmohr commented Dec 29, 2020

Is there a way to access the data of security.capability?

I want to add capabilities to files in a tar archive. This library would do exactly what I need, except that it seems like there is no way to get the actual data. I only found setVfsCap which directly sets it on a file. It would be great if there would be something like VFSCap() []byte which would return a byte array which I can directly write into a PAXRecords from the golang tar library.

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

1 participant