-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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: use overlayfs for temporary files if rootless #2507
Comments
The pid and other stuff should be written to /run not to /tmp. |
@rhatdan I think we fall back to |
Well the directory we create in /tmp should have permissions 0700 |
@rhatdan As a normal user, you can neither write to That also confuses me when reading the man page:
Actually, that won't work. |
@tobwen |
@mheon Maybe Debian hasn't this systemd-feature enabled (like many others). My Edit: Update for Ubuntu 16.0.4 LTS: has Addition: I think, you can't use the user's home directory, since tmpfs is needed for some actions. |
we use If the We prefer Are you sure that another user can really read what is stored under |
@giuseppe I've just rechecked it, you're right. I cannot access it from another user. Sorry, maybe I had a So all we have to do is to update the manfile like this: Thanks for your explanation. Shall I close this feature request? |
yes let's close it :-) Thanks for checking it out |
Excellent @giuseppe Glad to see we are secure by default. |
@tobwen Where are you getting podman for Debian? Is it available in the default installer? |
@rhatdan I'm building it for myself in Debian 9 from GIT. Complete rootless process, only building and installation of fuse3 needs root (I've backported it from Debian 10 without a problem). But you don't need OverlayFS to run podman, |
/kind feature
Description
When being rootless, all the PID and other stuff gets stored in
/tmp/
(EDIT, removed: and is readable from any user on the system). Wouldn't it be possible to use fuse-overlayfs to write it on the current user's space only where available? Since tmpfs is used, it might be compatible?The text was updated successfully, but these errors were encountered: