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.
New folders are encrypted by default for data protection. You can also create 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, create new folders and network credentials for accessing folders.

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.
Only those with network credentials created in HexOS can access these folders.
This means by default only the administrator has access. The administrator grants access to anyone given network credentials. Folder permissions for this type of folder can be modified.
Encrypting a folder scrambles its contents so they can only be read with the folder's key. New folders are encrypted by default. 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 only how the key is kept, not the files, so it finishes in seconds. 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 for a few minutes at the end, or for the whole conversion.
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.
Every encrypted folder has its own 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 every attempt. 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. Your server creates it the first time 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 your server and your recovery key, your data cannot be recovered. HexOS cannot open it for you.
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 every backup of the folder has run since, and keep it 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 user account is automatically an administrator: this means you always have full access to all your folders.
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.
When apps are installed, they automatically create "System Folders" for their data. These appear separately from your personal folders and are managed by the apps themselves.
Certain folder names like "Downloads" are reserved for system use. If you create a folder with a reserved name, it will automatically appear in System Folders instead of your personal folders.
These folders have default locations, but you can change where they're created in locations.