jacobsa / fuse

A Go package for implementing a FUSE file system.
Apache License 2.0
478 stars 106 forks source link

Support unprivileged mounts on Linux #124

Closed blinsay closed 2 years ago

blinsay commented 2 years ago

Adds support for unprivileged mounts by allowing a parent process to pass an open /dev/fuse file descriptor as a mount point. Follows the libfuse3 format and uses /dev/fd/N to represent an open fd.

I added a quick test for parsing /dev/fd/N fds. The memfs tests on master seem to hang and fail pretty consistently on my system.

stapelberg commented 2 years ago

Thanks!