TrueNAS SCALE FTP User Login Guide β
1. Create a Dedicated FTP User β
Go to Credentials β Local Users β Add.
Set:
Username: e.g.
cameraftpPassword: a strong one (youβll enter it into the cameras later).
Primary Group: create a new group named
cameraftpif prompted.Auxiliary Groups: add ftp
Home Directory: point it to your dataset, e.g.
/mnt/PoolName/CamRecordings.- If the dataset doesnβt exist, create it first under Storage β Datasets.
Shell: set to nologin (so the account isnβt usable for SSH).
Save the user.
2. Set Dataset Permissions β
- Go to Storage β Datasets.
- Find your dataset (e.g.
CamRecordings) and click Edit Permissions. - Choose POSIX (Unix) ACL.
- Give the
cameraftpuser Read+Write+Execute (RWX) permissions. - Save.
3. Enable and Configure the FTP Service β
Go to System Settings β Services.
Find FTP, click the pencil icon to configure:
- Port: leave default (21).
- Allow Anonymous Login: off.
- Require TLS: optional. Some cameras donβt support FTPS, so if they only support plain FTP, leave TLS unchecked (less secure, but fine inside your LAN).
- Enable Local User Login: on.
- Masquerade Address: not needed unless your cameras are on another network/VPN.
- Chroot: enable this so users are locked into their home directory (cameras will only see
/mnt/PoolName/CamRecordings).
Save, then flip the switch to start FTP service.
- Optionally, set Start Automatically if you want FTP always running.
4. Configure Your Cameras β
In the cameraβs storage settings, enter:
- Server/IP: the LAN IP of your NAS.
- Port: 21.
- Username:
cameraftp. - Password: the password you set.
- Directory/Path: leave blank or
/(since the home dir is the dataset).
5. Verify β
From a PC, test FTP login using the new user:
bashftp <NAS-IP> # login as cameraftp, enter passwordYou should land directly in
/mnt/PoolName/CamRecordingsand be able to upload files.