-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
Mount options to FUSE appear to be hard-coded (eg: default_permissions)
This makes it difficult to expose a catfs mount for use in a docker container from the host; docker tries using it's overlayfs as root, but fails since the catfs mount isn't mounted with allow_other or allow_root.
Here's an example of what I'm trying to run with:
RUST_LOG=catfs=debug,fuse=debug,integration_tests=debug \
/usr/local/bin/catfs /mnt/source /data/cache /mnt/dest \
-o rw,allow_other,umask=002,gid=1000,uid=1000,syslog,dev,suid
## Output from `catfs`
2017-09-17 07:28:54 DEBUG - catfs "/mnt/source" "/data/cache"
2017-09-17 07:28:54 INFO - Mounting /mnt/dest
2017-09-17 07:28:54 DEBUG - INIT(1) kernel: ABI 7.26, flags 0x1ffffb, max readahead 131072
2017-09-17 07:28:54 DEBUG - INIT(1) response: ABI 7.8, flags 0x31, max readahead 131072, max write 16777216
## Output from `mount`
/dev/fuse on /mnt/dest type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000,default_permissions)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels