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

as of 1.14, xattr_permissions=2 causes merged dir to change ownership to root. not writable by user #431

Open
koebbe opened this issue Oct 18, 2024 · 1 comment

Comments

@koebbe
Copy link

koebbe commented Oct 18, 2024

$ mkdir lower upper workdir merged

$ ls -ld merged
drwxr-xr-x. 2 me me 40 Oct 18 11:51 merged

$ fuse-overlayfs -o lowerdir=lower,upperdir=upper,workdir=workdir,xattr_permissions=2 merged

$ ls -ld merged
dr-xr-xr-x. 2 root root 60 Oct 18 11:51 merged

Permissions are not changed when doing this with 1.13.
Perhaps I'm not understanding something. Is this expected when using xattr_permissions with 1.14?

@koebbe
Copy link
Author

koebbe commented Oct 18, 2024

Hmm, perhaps a more appropriate test is:

$ podman unshare fuse-overlayfs -o lowerdir=lower,upperdir=upper,workdir=workdir,xattr_permissions=2 merged

Which works as expected....in this case, consider this issue closed 😉

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