Sharestead
⚠ 2

Dashboard

Everything is running. 3 devices connected.
Shares
5
1 public · 4 private
Users
4
1 near quota
Connected
3
2 PCs · 1 TV
Services
OK
SMB · Discovery · DLNA

Storage by share

used / available
Media
11.2 TB / 36 TB
Files
2.1 TB / 36 TB
Family
210 GB / 1.7 TB
Public
32 GB / 1.7 TB
Personal folders
68 GB / 1.7 TB

Quota by user

alex420 GB of 1 TB
sam 92 %460 GB of 500 GB
kim35 GB of 200 GB
adminno limit
Soft quota: checked every 15 min. Over the limit → read-only until space is freed.

Recent changes

All changes
today 14:02admin added kim to group familyUI
today 11:40smb.conf edited outside the UI — share Files: veto files addedfile
yesterdayadmin set quota for sam to 500 GBUI

Problems

Checked every minute and after every change. Last check: 20 s ago.
critical Share “Media” is not available — its storage isn't mounted
since today 10:42
What's wrong
/mnt/media is an empty folder on the system disk. The storage that should be attached there is missing.
Affected
share Media (SMB + NFS + DLNA) · users alex, sam, kim · TV
Protection
The share was switched to read-only automatically, so nothing gets written to the system disk by mistake.
Likely cause
The container was started without its mount point, or the storage on the host is offline.
What to do
  1. Check that the storage is online and attached to this system at /mnt/media. This system runs in a container, so the mount is set up on the container's host.
  2. Once it's mounted again, click Check again — the share becomes writable automatically.
Search terms: “LXC mount point”, “bind mount”
expected: separate filesystemfound: same device as / (system disk)container: LXC (privileged)
warning Folder permissions of “Family” were changed outside the UI
since yesterday 22:10
What's wrong
/mnt/share now belongs to root:root 0755 (expected root:share-family 2770). Members of family can read but no longer create files.
Affected
share Family · group family (3 users)

Example: a failed action — instead of “An error occurred”

Couldn't create share “Photos”
Why
Samba rejected the configuration: the setting veto files in share Files (line 58, added by hand today 11:40) has an unclosed /.
What was changed
Nothing. The folder wasn't created, smb.conf is unchanged, all shares keep working.
What to do
Fix line 58 in Files › Advanced, or undo the hand edit in Changes — then create the share again.
testparm: Error in line 58trace 7f2c9a

Resolved

Nov 27 · 25 minSamba wasn't running (crashed after update) — restarted automatically, self-check okresolved
Nov 25 · 2 hStorage /mnt/files 95 % full — space freedresolved

Shares

Folders people can open from their PC, Mac or TV.
NameFolderWho has accessUsedStatus
Family
Shared family files
/mnt/share👥 family · read & write210 GB● active
Media
Movies, series, music
/mnt/media👥 family · read 👤 admin · read & write—⛔ storage not mounted
Files
Misc
/mnt/files👥 family · read & write2.1 TB● active
Public
Anyone on the network
/mnt/public🌐 everyone, no login32 GB● active
Personal folders
one private folder per user
/home/<user>👤 only the owner68 GB● on
Scans
from the printer
/mnt/files/scansCustom — see Advanced3 GB○ disabled
"Custom" = parameters the simple view can't show safely (e.g. %U macros). They are kept and editable under Advanced.

New share

Step 1 of 2 — what kind of share?
🌐 PublicAnyone on your network, no password. Good for a drop folder.
👤 PrivateFor one person only.
👥 GroupFor a group, e.g. your family. Each member uses their own login.
🛠 CustomStart empty and pick everything yourself.
Shown as \\nas\Photos on Windows and smb://nas/Photos on Mac.
✓ Folder doesn't exist yet — it will be created.
Shares ›

Media

\\nas\Media · /mnt/media
AccessOptionsQuotaAdvanced

Who may do what

🌐
Guestsi
anyone, no login
No accessReadRead & write
F
family group · 3 members
alex, sam, kim
No accessReadRead & write
A
admin user
No accessReadRead & write
K
kim user · in family
exception to the group
No accessReadRead & write

In plain words

  • Members of family can open and copy files, but not change them.
  • kim can't open this share, despite being in family.
  • admin can add, change and delete files.
  • Nobody gets in without a login.
Also visible on TVs via DLNA (Media library). Settings

Available via

SMB Windows, Mac, TV apps
NFSi trusted devices: 192.168.0.0/24
⚠ No per-user login — read-only for family can't be enforced without ACLs.
SFTP sftp://nas:2222/Media
WebDAV and FTP are switched off on this NAS, so they don't show here.

Connect from Linux

NFSSMB
# mount once
sudo mount -t nfs4 nas:/mnt/media /mnt/media
# /etc/fstab — mounts on first access
nas:/mnt/media /mnt/media nfs4 _netdev,x-systemd.automount 0 0
⚠ Your Linux user needs the same UID as on the NAS (admin = 1000).

NFS clients

192.168.0.0/24readroot squashi · sync
192.168.0.50 (media server)read & writeroot squash · sync

Samba view

[Media]
path = /mnt/media
comment = Movies, series, music
valid users = @family admin
invalid users = kim
read list = @family
write list = admin
read only = yes

Review change

Nothing is changed until you apply. Every change can be undone.

Changes to /etc/samba/smb.conf

# Media library – keep read-only for the family (hand-written comment, kept)
[Media]
path = /mnt/media
- valid users = @family admin
+ valid users = @family admin
+ invalid users = kim
read list = @family
write list = admin
veto files = /.DS_Store/ ← not known to the UI, kept

Also changes on disk

None for this change
✓

What happens

  1. Backup of the current file
  2. File replaced in one step
  3. Samba reloads its config
  4. Entry in Changes, with undo

Folders

Create folders, share them, delete them. Changes show up in the network right away — no restart.
/mnt/share › Family
NameSizeShared as
📁 Photos184 GB\\nas\Photos
📁 Finances2 GBpart of Family
📁 School21 GBpart of Family
📁 Old-Backup-20193.4 GB\\nas\OldBackup

Finances

Path
/mnt/share/Family/Finances
Size
2 GB · 1 204 files
Access
same as Family (family: read & write)

New shared folder

Creates the folder, sets permissions and shares it — in one step.
→ /mnt/share/Family/Finances · appears as \\nas\Finances
A
alex
No accessReadRead & write
P
parents group
No accessReadRead & write
F
family group
No accessReadRead & write

What happens

  1. Folder Finances is created
  2. Folder permissions: group share-finances (alex, parents, family)
  3. Share [Finances] added to smb.conf
  4. Samba reloads — no restart, connected devices stay connected

⚠️ Delete folder “Old-Backup-2019”?

This deletes the folder and all files in it.
Path
/mnt/share/Family/Old-Backup-2019
Contents
3.4 GB · 8 912 files · 140 folders
Shared as
\\nas\OldBackup — the share is removed too
Connected now
sam (Mac) — will be disconnected from this share
Only remove the share, keep the files
The folder stays and can be shared again later.
v1: files go to the recycle bin for 30 days first.

Users

People who can log in to shares.
UserGroupsQuotaLast seenStatus
A
admin
Administrator
sharestead-admins familyno limitnow · PCactive
A
alex
Alex
family
420 GB / 1 TB
2 h ago · Macactive
S
sam
Sam
family
460 GB / 500 GB
yesterdaynear quota
K
kim
Kim
family
35 GB / 200 GB
neverno password yet
B
backup
created on the command line
—no limit—disabled
Users ›

sam

Linux user + share login · uid 1003

Account

One password for everything (SMB, SFTP, WebDAV). The user can change it later at https://nas:8443/me.
⚠ For NFS: sam's user on Linux PCs must have the same UID.
family ✕+ add
Administrator
May sign in to this UI and change everything.

Storage limit

460 GB used92 %
across all shares
Soft quota (this system can't enforce hard limits on mounted storage). Over the limit, sam becomes read-only until files are deleted. Windows and Mac show 40 GB free for sam.

Access overview

Familyread & write via family
Mediaread via family
Filesread & write via family
Publicread & write everyone
Personal folderread & write \\nas\sam

Groups

Give several people the same access at once.

family

3 members
A
S
K
+
Access: Family (r/w), Media (read), Files (r/w)

sharestead-admins

1 member
A
+
May use this admin UI

media-editors

0 members
+ add members
Not used by any share yet

Network & TV

How devices find this NAS.

Visible on the network

Windows ● running
Shows up under "Network" in Explorer (WS-Discovery).
wsdd23702/udp, 5357/tcp
Mac & Linux ● running
Shows up in Finder's sidebar (Bonjour/mDNS).
avahi-daemon5353/udp
Older devicesi off
NetBIOS name. Needed by some older TVs and media players.
nmbd137–138/udp
Server name
How the NAS appears everywhere.

TV & media players (DLNA)i

TVs show the NAS as a media source — no login, read-only.
FolderType
/mnt/media/Movies🎬 video
/mnt/media/Series🎬 video
/mnt/media/Music🎵 audio
12 431 files · last scan 10 min ago
DLNA has no logins: everything listed here is visible to every device on the network.

Changes

Everything that changed — from this UI, the API, the system or by hand. Undo single changes or restore a point in time.
AllConfigUsers & groupsServicesSecurityBy hand
today 14:20New shared folder “Finances”
4 steps · folder, group, smb.conf, exports
admin
today 14:05Share Media: kim → no access
smb.conf
admin
today 11:52NFS client 192.168.0.77 added
/etc/exports
by hand
today 09:30Service WebDAV switched off
config.yaml · service stopped
admin
today 03:00sam over quota → read-only
smb.conf (read list)
systemautomatic
yesterdayAPI key backup-script createdadminaudit only
yesterdayPassword of alex changedalexaudit only
yesterday3 failed logins from 192.168.0.93securityaudit only
Nov 26User backup created on the command lineby handaudit only

New shared folder “Finances”

admin · today 14:20
  1. Folder /mnt/share/Family/Finances created
  2. Group share-finances created (alex, parents)
  3. smb.conf: share [Finances] added
  4. exports: /mnt/share/Family/Finances for 192.168.0.0/24
smb.confexports
+ [Finances]
+ path = /mnt/share/Family/Finances
+ valid users = alex @parents @family
+ read list = @family
+ force group = share-finances
Undo reverts all 4 steps in reverse order. The folder is only removed if it's still empty.

Example: undo with a conflict

System

What this system can do, and settings.

Services

Switched-off services are stopped and hidden everywhere in the UI. Share settings are kept.
SMB ● running
Windows, Mac, TV apps
Samba 4.22.11ports 445, 1393 clients
NFS ● running
Linux & trusted devices
nfs-utils 2.8port 2049NFSv3, v4.24 exports
SFTP ● running
Secure file access
built-inport 2222
WebDAV off
Phones & browser over HTTPS
built-inport 8443 /dav
FTP not installed
apt install vsftpd
TV / DLNA ● running
TVs and media players find your media
minidlna 1.3ports 8200, 1900/udp

Capabilities

Storage limitsi
Soft quota — storage is mounted from outside this container.
soft
Folder ACLsi
Off on this storage — different access = separate share.
off
Container typei
Privileged LXC — NFS possible.
info

Updates

Sharestead 0.4.0 available
installed 0.3.2checked 2 h ago
⚠ Contains a security fix.
System packages 3 pending
samba 4.22.12 (security)openssltzdata
Installed automatically tonight by the system's security updates.
1 security
Automatic security updatesi ● on
last run today 04:01no reboot needed
Last self-check ✓ ok
after samba 4.22.10 → 4.22.11Nov 20

Settings

Workgroup
WORKGROUP
Guest access
allowed (needed for Public)
Minimum SMB version
SMB2
Allowed folders
/mnt, /srv
Quota check
every 15 min
UI address
https://nas:8443
Version
0.3.2
Update check
daily · git.example.lan/releases.json
Show descriptions
One-line explanations under settings. The ⓘ icons always stay.

API

Everything this UI does is available via a REST API. Every call needs a login or an API key.
API keysDocumentation
NameScopesExpiresLast used
home-assistant
sst_7f3a…
shares:read system:readin 62 days5 min ago
192.168.0.40
backup-script
sst_c91d…
users:readin 6 daysyesterday
192.168.0.10
old-test
sst_02be…
shares:writeexpirednever

New API key

Shares
NoneReadRead & write
Users & groups
NoneReadRead & write
System & services
NoneReadAdmin
You'll be asked for your password again. The key is shown once — only a hash is stored.

Documentation preview

OpenAPI 3.1 · /api/v1/openapi.json
GET/api/v1/sharesList sharesshares:read
POST/api/v1/sharesCreate a share (optionally with folder)shares:write
PATCH/api/v1/shares/{name}/accessChange who may do whatshares:write
GET/api/v1/users/{name}/usageUsage and quota of a userusers:read
DELETE/api/v1/folders/{path}Delete a folder incl. datashares:write re-auth
# example
curl -H "Authorization: Bearer sst_…" https://nas:8443/api/v1/shares
Step 2 of 5

Where is your storage?

Pick the folders that hold your data. We found these mounted disks:
/mnt/share1.7 TB free✓ writable
/mnt/media36 TB free✓ writable
/mnt/backup4 TB free✕ owned by nobody
1 Admin account · 2 Storage · 3 Services · 4 First share · 5 Done