Cloud Sync to dataset with smb share - file ownership issues

I sync files from my cloud account to my dataset on Truenas Scale (ver 25.04). No problems there.

However, the dataset has an smb share and when I try to access the dataset from my Windows machine I cannot delete the files that were synced from my cloud drive to that dataset. I get an error message that "Unix User/root is required’. I set up a specific group and users of that group for the smb share. What can I do so that the permissioned smb users/group members can have full control of the files that were synched from the cloud to that dataset, available via smb share on my Windows machine?

Do I need to set up a pre or post script when configuring my cloud sync task? Or should the smb permissioned users be differently configured?

Thanks

If you create a dataset with NFSv4 ACL type and define an explicit GROUP (not GROUP@) entry (inheriting) granting access to your SMB users then when files are created they will inherit the ACL entry and the users will have access.

1 Like

Thanks, I will take a look.