Skip to content
Vaulthalla LogoVaulthalla

Filesystem Access

How vaults are reached as files - the FUSE mount on Linux, its identity and permission model, mount modes, and the options on macOS, where the server never mounts vaults.

Every vault can be reached through the web console, the CLI and the S3 gateway on every platform. On Linux, vaults are also a real filesystem: the daemon mounts them through its own FUSE driver, and ordinary programs read and write them as files. This page explains that mount, its permission model, and what to use on macOS, where the server never mounts vaults.

At A Glance

Way in Linux macOS
Web console (browse, upload, download, preview, share) Yes Yes
vh fs ls, vh fs get, vh fs put over the CLI socket Yes Yes (the CLI file path on macOS)
S3 gateway (vaults as buckets) Yes Yes
Filesystem mount /mnt/vaulthalla (FUSE) None: the server never mounts on macOS

The Linux Mount

The daemon mounts every vault you can reach under:

1/mnt/vaulthalla

It is a FUSE 3 filesystem (fuse.vaulthalla-fuse) mounted with allow_other and auto_unmount, served by the daemon itself. A process reading or writing it is identified by its Linux uid, mapped to a Vaulthalla user, and checked against the same roles and permissions as the console and the CLI: a user sees only the vaults and paths their roles allow.

Bytes stay encrypted at rest. The mount is the decrypting view: opening a file decrypts it into a private working copy (0600, inside the service's state directory) shared by all handles on that file, and closing, fsync or the last release seals it back with a fresh IV. A copy that fails to seal is kept aside rather than lost.

Check The Mount

1mount | grep vaulthalla2ls /mnt/vaulthalla3df -h -x fuse.vaulthalla-fuse     # list other filesystems without touching the mount

If the daemon stops uncleanly the mount can be left stale; see FUSE Mount Fails. Scripts and monitoring should not stat the mount point blindly: if the daemon is wedged, filesystem calls into the mount can block. Prefer vh status, which reports the mount state without entering it.

Mount Modes

mount.mode in config.yaml records which mount the operator intends:

Mode Meaning Shipped
multiuser One mount for every local user, each checked by uid. Linux (the default there)
service_private A mount only the service account can use, for internal tools. Not provided on any platform
disabled No mount; storage is served over HTTP, WebSocket, the CLI and S3 only. macOS (the only mode there)

An unknown value refuses to start rather than silently becoming another mode. On macOS, multiuser or service_private does not stop the daemon: it runs as disabled and logs a [config] warning saying so; set the key to disabled or remove it to clear the warning. vh status reports the configured mode and the actual state separately (for example mount: disabled -> disabled, or mount: multiuser -> mounted), and health never reports a mount that isn't there.

On macOS

The macOS server never mounts vaults: it has no FUSE bridge, does not use macFUSE, and Finder shows no Vaulthalla volume from it. Finder integration belongs to Vaulthalla Desktop, a separate app for each Mac user that is in development: it will show the vaults you choose in Finder through Apple's File Provider, with every operation checked by the server under your own Vaulthalla account. Until it ships, Vaulthalla does not offer Finder access on a Mac. vh status says so on its mount line:

1  mount: disabled -> disabled — the server never mounts on this platform; Finder access is provided by Vaulthalla Desktop

Use these instead:

  • The web console for browsing, uploads, downloads, previews and shares.
  • vh fs for scripts and the command line. vh fs ls, vh fs get and vh fs put move files over the CLI socket with the same permissions as the console; downloads are written atomically and uploads are stored only when complete. See Vault Files.
  • The S3 gateway for tools and sync clients that speak S3. See S3 Gateway.

HTTP uploads on macOS stage in a private directory under the service's state root instead of going through a mount, so the console works fully without one.