Useful Commands

Get DSM version

cat /etc.defaults/VERSION

Quirks

Fix permissions when mounting via SMB on macOS

Tested on DSM 7.2.1

By default, when mounting a shared folder/volume on macOS and when I create any directory/file, they all get 777 permission which seems… bad. In order to fix this and apply the default permissions of the user associated with the SMB mount.

To fix this, go to Control Panel > File Services > SMB > Advanced Settings > Others and check Apply default UNIX permissions.