Skip to main content

Creating SMB Share and Setting ACL Permissions

If you want to access your TrueNAS dataset on a Windows client machine, chances are, you will want to setup an SMB share. SMB (Server Message Block) is a network protocol for Windows to access files on the network. SMB is also commonly known as Samba.

Creating SMB Share

Login to TrueNAS WebGUI.

image.png

Navigate to Services.

Screenshot 2021-07-29 151543.png

Slide the slider for SMB to enable the SMB Service on TrueNAS, and check the box for it to start automatically.

Screenshot 2021-07-29 151621.png

Navigate to Sharing -> Windows Shares (SMB).

Screenshot 2021-07-29 151647.png

Click on Add on the top right to add a new Samba Share.

Screenshot 2021-07-29 151700.png

Give this share a name. This name will be the name that you will see from your Windows client when you navigate the Network Shares. You can also give the share a description to quickly describe what the share contains. The description is for your reference only.

Screenshot 2021-07-29 151716.png

Expand the /mnt folder, and select the dataset that you want to share on the network. Click SubmitSubmit to finish creating the SMB Share.

Screenshot 2021-07-29 151810.png

A newly created SMB Share will have the default ACL (Access Control List) Permission set for it. TrueNAS will ask you if you would like to configure the ACL list at this point. Select Configure Now to start setting the ACL.

You can always revisit the ACL and configure it later.

Screenshot 2021-07-29 151842.png

You will be asked to select a preset ACL or create a custom ACL. We will go over creating a custom ACL.

You can learn more about the ACL settings from TrueNAS's official documentation: https://www.truenas.com/docs/core/coretutorials/storage/pools/permissions/

Screenshot 2021-07-29 151932.png

Screenshot 2021-07-29 151959.png

Screenshot 2021-07-29 152019.png