Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where
podman mount
didn't error as rootless
We require that rootless `podman mount` be run inside a shell spawned by `podman unshare` (which gives us a mount namespace which actually lets other commands use the mounted filesystem). The fix is simple - we need to mark the command as requiring the rootless user namespace not be configured, so we can test for it later as part of the mount code and error if we needed to make one. Fixes containers#6856 Signed-off-by: Matthew Heon <[email protected]>
- Loading branch information