Skip to content

Conversation

@hallyn
Copy link
Contributor

@hallyn hallyn commented Nov 15, 2022

This will cause all upperdirs to user user.overlay.* instead of trusted.overlay.* xattrs. Since a root user may generate a layer which will later be used as a base by an unprivileged build, there's no reason to ever use trusted.*.

Signed-off-by: Serge Hallyn serge@hallyn.com

This will cause all upperdirs to user user.overlay.* instead
of trusted.overlay.* xattrs.  Since a root user may generate
a layer which will later be used as a base by an unprivileged
build, there's no reason to ever use trusted.*.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
@hallyn
Copy link
Contributor Author

hallyn commented Nov 15, 2022

With this, layers get created with user xattrs instead of trusted.*.

$ ~/test/llistxattrfull /mnt/a
ret 20 on /mnt/a
nret 20 list user.overlay.origin

Copy link
Contributor

@smoser smoser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks right to me.

@hallyn
Copy link
Contributor Author

hallyn commented Nov 15, 2022

@rchincha or @andaaron if you have concerns with this please let me know, else I'll merge it shortly.

@hallyn hallyn merged commit 7346422 into project-stacker:main Nov 15, 2022
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