Folders can be used to organize data, share files over the network and for backups with tools like Apple Time Machine. You are able to create folders and they can be automatically created when applications are installed.
When you are signed in with a HexOS account and managed encryption is available, the new-folder wizard selects autogenerated encryption. Check the Encryption step before creating the folder. You can also create local users and decide what they can view and edit.
You can access the Folders screen in the Command Deck through the sidebar menu. On this screen you can view existing folders and create new ones. Create local users in Settings > Local users, or through New user in the folder wizard.

The Folders screen shows your folders, not their contents. To look inside one, click the folder and then click Browse to open the file browser. You can also connect your computer to the folder over the network.
To make a folder, see How to create a new folder.
You can give users specific types of access to folders:
Users with read access can view or download folder contents but can't edit or delete the contents.
Users with write access can add, modify or delete the contents of the folder.
Anyone can access these folders. This will include all users you have created. This means that anyone with access to your network can view, edit or delete the contents of these folders.
Choose which local users may access a private folder and whether they may view or edit its contents. A HexOS account does not automatically grant that person network access to every private folder. Add local users in Settings > Local users or from the folder wizard.
Encrypting a folder scrambles its contents so they can only be read with the folder's key. The new-folder wizard offers encryption when the required account and feature access are available. Every file you put in an encrypted folder is encrypted automatically. While the folder is unlocked, it works the same as any other folder.
Warning: An Autogenerated key does not protect your folder if someone takes your whole server. The key is kept on the server's boot drive so the folder can unlock by itself when the server starts. If someone takes the whole server, including its boot drive, the folder unlocks when they start it. To protect a folder against this, use a Manual passphrase: the folder stays locked after every restart until you type it.
For what HexOS can and cannot open, how to lock and unlock folders and how to restore them, see Encrypted folders.
When you create a folder, you choose how its key is kept:
You can change an encrypted folder between Autogenerated and Manual later, from the Encryption tile on the folder's page. This changes how the key is kept without rewriting the folder's files. See Change how a folder's key is kept.
Danger: If you lose the passphrase of a folder that has used Manual from the start, nobody can open the folder or its backups. HexOS cannot help you get it back. Write the passphrase down and keep it somewhere safe.
A folder that is not encrypted can be encrypted later. Open the folder's page and click Turn on in This folder is unencrypted. HexOS builds an encrypted version of the folder, checks it, and switches it into place. Depending on the free space on the pool, the folder is offline at the end or for the whole conversion. Wait for the operation to finish before using it again.
Turning on encryption is a one-way change: an encrypted folder cannot be changed back to unencrypted.
The steps, what can stop a conversion and what to do if one stops are in Turn on encryption for a folder.
Each folder created with its own encryption has a key. With an autogenerated key, HexOS keeps that key in more than one place, so that losing your server does not mean losing your data.
| Where | What is kept | What it is for |
|---|---|---|
| TrueNAS key store, on your server's boot drive | Each autogenerated folder key | Unlocks your folders when the server starts. You can export a key from here (see below). |
| The HexOS app, on your server | Your server's recovery key | Locks the copies of your folder keys that HexOS keeps. |
| HexOS servers | A copy of each autogenerated folder key, locked with your recovery key | After a disaster, a new HexOS server signed in to your account uses these copies to unlock your folders. |
| HexOS servers, Managed only | A copy of your recovery key | Lets HexOS open the locked copies for you, so recovering a server needs only your HexOS sign-in. |
| Your buddy's server | Your encrypted data only | Never any key. A buddy cannot read your backup. |
While recovery key management is Managed, HexOS also keeps its own sealed copy of each new folder key, which it uses to check that every copy it stores really opens. HexOS opens any of these copies only for a request signed in to your account, and records access before opening a stored key. This makes your HexOS sign-in the key to your folder copies: keep your HexOS password safe.
Manual passphrase: HexOS does not store your passphrase on its servers.
Each server has its own recovery key: a 28-character code in groups of four. For a server with managed encryption available, HexOS creates it when you open the server in the Command Deck. The recovery key locks the copies of that server's folder keys that HexOS keeps.
The recovery key is not the key to your folders. It is one level above them: together with your HexOS account, it lets a HexOS server open the copies of your folder keys and unlock your folders. Only HexOS uses it. To open a folder on a system without HexOS, use that folder's own key, exported from TrueNAS.
You choose who keeps it in Settings > Recovery key > Key management:
Danger: With End-to-end encryption, if you lose both the server and its recovery key, HexOS cannot unlock backups made with its autogenerated folder keys. An independently exported folder key is a separate recovery route. Manual-passphrase folders use their passphrase.
How to view, copy, switch, rotate and print the key is in Recovery key and emergency kit.
HexOS does not show individual folder keys. TrueNAS keeps each autogenerated folder key in its own key store on your server, so you can export any folder's key from the TrueNAS web interface: open Datasets, click the folder, and click Export Key in its Encryption section. You need these keys if you move your pool to a system without HexOS, or if you stop using HexOS on this server. The step-by-step instructions are in Download keys for encrypted datasets.
Tip: Switching to End-to-end encryption, or rotating the recovery key while you keep it yourself, gives your autogenerated folders new keys. Export the keys again afterwards. The older exported key no longer unlocks the folder on your server, but it still opens copies of the folder made before the change. Keep it until each backup has received the new key. Check Recovery key for destinations still waiting, and keep the old key as private as the new one.
A folder with a Manual passphrase has no key to export: the passphrase is the key.
If your computers can't open a folder or some of the files in it, but HexOS shows the files are there, the folder's info panel offers Repair access. See Repair access to a folder.
Creating additional users is optional.
Your HexOS sign-in and the local credentials used for network file sharing serve different purposes. Assign local users access to each private folder.
You can create more users in order to grant others access to private folders.
You can grant access to selected users during folder creation. Access to folders can be modified in the folders screen.
User accounts created here only grant folder access through network file browsers like macOS Finder or Windows Explorer. These accounts don't allow any control over your server or applications.
App install scripts use configured locations for their data. Review these paths in Settings > Locations. The Folders screen lists the shared folders HexOS manages; it does not show a separate section for every app-data directory.
Certain folder names like "Downloads" are reserved for system use. The folder wizard rejects a reserved name. Choose a different name for a personal folder.
These folders have default locations, but you can change where they're created in locations.