Create media, a Windows share, which that can be managed with Windows permissions and that has the following qualities:
- Owned by a user called admin.
- FreeNAS users (as defined by the group freenas) have read access to media.
- All other users on the local network have no access.
Step 1: Create the media dataset.
Step 2. Alter ownership on the dataset.
Step 3: Create the Windows share.
When the share is viewed from windows everyone has read and execute permissions and freenas users have full permissions. These permissions will be adjusted through Windows when connecting to the share as the admin user.
Step 4: Fine tune the permissions through windows.
Remove everyone and adjust freenas user permissions.
A Windows error is generated when trying to write to media as a FreeNAS user.
A Windows error is generated when trying to access media as a non-FreeNAS user.