Daniel Gerber
Daniel Gerber
Add options `--uid-map` and `--gid-map` to map multiple users between child and parent namespace: `bwrap --uid-map ' ...' ...` Relying on shadow `newuidmap` utility, or implementing the same whitelisting logic...
This tests fails when running as uid not 0 and with --no-allow-other. ``` --- mntdir with space --- [ ] fusermount3: entry for .../lib/alpine/aports/testing/bindfs/src/bindfs-1.15.1/tests/tmp_test_bindfs/a b not found in /etc/mtab ERROR:...
To implement maybe as a separate fuse module, so it can be reused on top of other fuse file systems. Upon fuse_getattr, this would return values read from an extended...
``` /tmp/test-space$ ls 'mnt space' srcdir /tmp/test-space$ findmnt |grep space /tmp/test-space$ bindfs --no-allow-other srcdir/ mnt\ space/ /tmp/test-space$ findmnt |grep space └─/tmp/test-space/mnt space /tmp/test-space/srcdir fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000,default_permissions /tmp/test-space$ grep space /etc/mtab /tmp/test-space/srcdir...