brauner / mount-idmapped

46 stars 11 forks source link

Extra --map-mount arguments needed in README #4

Closed crass closed 2 years ago

crass commented 2 years ago

https://github.com/brauner/mount-idmapped/blob/3cef4d01b2338f43447ef02ee22e33187e06315c/README.md?plain=1#L43

This returns error message Bad file descriptor - Failed to open g:0:20000:20000.

OTOH, this doesn't: mount-idmapped --map-mount u:0:10000:10000 --map-mount g:0:20000:20000 /source /target

Same for this line: https://github.com/brauner/mount-idmapped/blob/3cef4d01b2338f43447ef02ee22e33187e06315c/README.md?plain=1#L51