Case
For security purposes, I set
System > Services > SMB > Advanced Settings
to File Mask 0600 and Directory Mask 0700. These SMB settings provide minimal privileges to users as global default.
Issue
Unfortunately share-specific customizations are not possible wit TrueNAS SCALE anymore. Adjusting settings on CLI in my opinion is an insufficient alternative:
- quite cumbersome and error-prone
- A change seems to overwrite local config, instead of incrementally appending changes.
- I would consider share-specific SMB settings a standard case.
- There is no way to overwrite the global SMB default File Mask and Directory Mask - neither
file_mode
/dir_mode
from client, nor ACL defaults in TrueNAS UI work.
Suggestion
For share-specific needs, we should be able to customize create mask
and directory mask
- as well as other parameters - under
Shares > x > Edit > Advanced Options > Additional Parameters String
I understand, developers received several user requests due to inproperly configured SMB parameters. Hence suggestion is:
- Just display a big red warning when entering “Additional Parameters String”, with additional hint, that no further support will be provided by developers.
- Provide an “Advanced user” flag in global TrueNAS settings, which makes this field editable again (as used by other applications).
Please give us the ability back to configure SMB settings according to own needs, using inherent features already available from Samba.
Thanks and kind regards
Related