Title: Solid-native filesystem mount — FUSE driver with ACL / notifications / JSON-LD as first-class · Issue #508 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: Solid-native filesystem mount — FUSE driver with ACL / notifications / JSON-LD as first-class · Issue #508 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: Solid-native filesystem mount — FUSE driver with ACL / notifications / JSON-LD as first-class · Issue #508 · JavaScriptSolidServer/JavaScriptSolidServer
Description: Why The companion to #507. That issue wraps Solid behind WebDAV — universal but loses Solid's distinctive features. This one exposes Solid natively: a FUSE filesystem driver that speaks Solid as its native protocol and surfaces what make...
Open Graph Description: Why The companion to #507. That issue wraps Solid behind WebDAV — universal but loses Solid's distinctive features. This one exposes Solid natively: a FUSE filesystem driver that speaks Solid as it...
X Description: Why The companion to #507. That issue wraps Solid behind WebDAV — universal but loses Solid's distinctive features. This one exposes Solid natively: a FUSE filesystem driver that speaks Solid a...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/508
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Solid-native filesystem mount — FUSE driver with ACL / notifications / JSON-LD as first-class","articleBody":"## Why\n\nThe companion to #507. That issue wraps Solid behind WebDAV — universal but loses Solid's distinctive features. This one exposes Solid **natively**: a FUSE filesystem driver that speaks Solid as its native protocol and surfaces what makes Solid Solid.\n\nThe pitch: this is the mount that lets `getfattr -n user.solid.acl /mnt/alice/diary.md` return the actual ACL doc, and lets `inotifywait /mnt/alice/inbox/` block on the pod's real-time `/.notifications` stream. Once these become filesystem-native, *every* tool that knows about xattrs and inotify (Nautilus included) inherits the integration for free.\n\n## Shape\n\n```\nsolidfs mount https://alice.solidcommunity.net /mnt/alice\nfusermount -u /mnt/alice\n```\n\nStandard FUSE ops on top of Solid HTTP:\n\n- `getattr` → HEAD upstream, cache briefly\n- `readdir` → GET with `Accept: application/ld+json`, parse `ldp:contains`\n- `read` → GET with `Range`\n- `write` → buffer + PUT on flush (or chunked via PATCH if the server supports it)\n- `create` → PUT empty body with content-type from filename\n- `unlink` → DELETE\n- `mkdir` → LDP POST with `Slug` + `Link: \u003cldp#BasicContainer>`\n- `rmdir` → walk + DELETE (LDP needs empty containers)\n- `rename` → GET + PUT + DELETE (LDP has no MOVE)\n\nSolid features as first-class filesystem properties:\n\n| Solid concept | FS surface |\n|---|---|\n| Container | Directory |\n| Resource | File |\n| ACL (`\u003cr>.acl`) | xattr `user.solid.acl` (read/write the JSON-LD doc) |\n| WAC-Allow | xattr `user.solid.permissions` (effective modes for current identity) |\n| JSON-LD `@type` | xattr `user.solid.type` |\n| `/.notifications` WS | inotify events on the mountpoint |\n| Solid-OIDC identity | xattr `user.solid.webid` at mount root |\n| Cross-pod link | symlink with magic target `solid://\u003curl>` |\n\nBonus once notifications are wired: Nautilus auto-refreshes when a collaborator writes a file. No explicit reload.\n\n## Tradeoffs\n\n- ✓ Solid features (ACL, types, notifications) are first-class, not lost in translation\n- ✓ Better performance (no protocol shim)\n- ✓ Standard Unix tools (`stat`, `getfattr`, `inotifywait`, `find`) just work\n- ✗ Linux + macOS only out of the box (Windows needs WinFsp shim — possible but more work)\n- ✗ Higher complexity than WebDAV; needs FUSE kernel module on Linux, macFUSE on macOS\n- ✗ Distribution friction: Node + `fuse-native` bindings, or a Rust/Go binary\n\n## Implementation options\n\n1. **Node + `fuse-native`** — sits in the same ecosystem as JSS; cheapest spike. Performance OK for most uses.\n2. **Rust + `fuser` crate** — production-quality, fast, single static binary. Better for `rsync`-of-pod scale.\n3. **Go + `bazil.org/fuse`** — middle ground, good cross-compile story.\n\nNode first is probably right: prove the model, then port hot paths if needed.\n\n## Open questions\n\n- **Caching policy**: getattr fires per-stat; need short-TTL cache (~1s) plus invalidation on notifications.\n- **Write semantics**: write-on-flush vs streaming. Solid PUT is whole-resource, so partial writes need buffering. Big files = big memory unless we PATCH (server-dependent).\n- **ACL edits via xattr**: writing `user.solid.acl` should PUT to `\u003cresource>.acl`. Clean API but a footgun if user pastes broken JSON.\n- **Auth refresh in long-lived mounts**: same issue as the WebDAV bridge — needs a quiet renewal loop.\n- **Notifications → inotify mapping**: pod events are JSON-LD; need a translation layer to IN_CREATE / IN_MODIFY / IN_DELETE.\n\n## Effort\n\n~2000-3000 LOC for a first cut. Bigger than the WebDAV bridge but each line bought back is a Solid feature that survives the round trip.\n\n## Naming\n\n`solidfs` or `solid-mount`. `solidfs` is shorter and the established convention (`sshfs`, `s3fs`).\n\n## Related\n\n- #507 — Solid → WebDAV bridge (compatibility path)\n- `solid-apps/explorer` — same primitives, but in the browser","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-19T07:01:54Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/508"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:09b93830-071f-7553-8742-661ae2085f2c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D310:3E5EE1:7CA176:A4975E:6B039652 |
| html-safe-nonce | 14f8344f933d6336d50687f963f0296031630821e7dd228a0af732154fea11ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzEwOjNFNUVFMTo3Q0ExNzY6QTQ5NzVFOjZCMDM5NjUyIiwidmlzaXRvcl9pZCI6IjI2MTUxNTYzNTUxMTk2ODMxNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 680dac1f23ed5e5f644094a9eef1d65cee3ac2f759affb9602a27882e9792253 |
| hovercard-subject-tag | issue:4475157142 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/508/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8fd6741e5724f12f621256ab3c0da2417638a192b6a455acce2b015e458c6815/JavaScriptSolidServer/JavaScriptSolidServer/issues/508 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8fd6741e5724f12f621256ab3c0da2417638a192b6a455acce2b015e458c6815/JavaScriptSolidServer/JavaScriptSolidServer/issues/508 |
| og:image:alt | Why The companion to #507. That issue wraps Solid behind WebDAV — universal but loses Solid's distinctive features. This one exposes Solid natively: a FUSE filesystem driver that speaks Solid as it... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 958025407 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 958025407 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width