-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Podman with fuse-overlayfs
and force_mask = "0700"
mangles ownership and permissions inside running containers
#22810
Comments
fuse-overlayfs
and force_mask = "0700"
set mangles ownership and permissions inside running containersfuse-overlayfs
and force_mask = "0700"
mangles ownership and permissions inside running containers
This comment was marked as resolved.
This comment was marked as resolved.
It's quite likely the same issue. I decided to report problems about a single configuration to make the bug report simpler, but I'm convinced that any force_mask that is less restrictive than 0777 will cause problems. |
might be addressed by containers/fuse-overlayfs#422 |
The tests in the PR do look promising! |
My issue is resolved after a system package upgrade (so might be different, given containers/fuse-overlayfs#422 is not yet released).
|
@legobeat Did you do Initially, I just edited config to put
|
My fancy images have fancy file types in them. When I tried this time, I got hit by |
Issue Description
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
After I comment out the
force_mask = "0700"
, or delete storage.conf alltogether, I getpodman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
I use btrfs on Fedora 40.
I discovered this when exploring around
In the issue I am reporting now, I deliberately did not use any networked filesystem but still got weird permissions/ownership errors.
Additional information
Article https://www.redhat.com/sysadmin/podman-rootless-overlay suggests that
fuse-overlayfs
is supposed to preserve permissions and ownership in file xattrs.This issue seems to be similar to a several previous issues
And it might be related to
The text was updated successfully, but these errors were encountered: