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

api: add support for multiple uid/gid idmappings #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 2, 2023

  1. api: add support for multiple uid/gid mappings

    Currently, only single mapping for uid/gid is supported.
    However, for userns, mutiple uid/gid mappings can be setted.
    
    This commit follows how fuse-overlayfs support this feature.
    containers/fuse-overlayfs@3378869
    
    Signed-off-by: Qi Wang <[email protected]>
    yawqi committed Dec 2, 2023
    Configuration menu
    Copy the full SHA
    82b9c51 View commit details
    Browse the repository at this point in the history
  2. test: skip test_clone_fuse_file when not running as root

    When running test_clone_fuse_file as non-root, the test will fail.
    ```
    ---- transport::fusedev::linux_session::tests::test_clone_fuse_file stdout ----
    thread 'transport::fusedev::linux_session::tests::test_clone_fuse_file' panicked at src/transport/fusedev/linux_session.rs:680:20:
    called `Result::unwrap()` on an `Err` value: SessionFailure("Unexpected exit code when running fusermount: Some(1)")
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    ```
    
    Signed-off-by: Qi Wang <[email protected]>
    yawqi committed Dec 2, 2023
    Configuration menu
    Copy the full SHA
    ce73f42 View commit details
    Browse the repository at this point in the history