Maintain NTFS Permissions Copying Files to SMB Share

Good Day Everyone,

I am in need help and I have been banging my head on a wall trying to figure this out. I will apologize in advance if this was covered somewhere else but after hours of googling I could not find the same issue.

I have an old TrueNAS 13u6.8 Server that I am retiring. I set it up years ago with iSCSI and SMB shares.

I now have a brand new Server that is setup and running TrueNAS Scale 25.04.2.1 and I got all the iSCSI setup easy for my VMware Environment.

Both Servers are Domain joined.

Now I am wanting to setup a temp SMB so I can copy all the files including maintaining the NTFS permissions on the source files to the destination SMB.

For the New SMB I created the Dataset for the SMB Share setting SMB and SMB/NTFSv4 with Passthrough mode.

The ACL Share has: everyone@ with FULL and ALLOW

The Filesystem ACL shows the built-in groups plus it also has my DOMAIN/domain users (modify) and DOMAIN/domain admins (full control)

I am using a Windows Server between the 2 TrueNAS Servers to use Robocopy to make the copy:

ROBOCOPY “SOURCE” “DESTINATION” /MIR /XO /COPYALL /ETA /TEE /MT:18 /LOG:"E:\Data-Copy.log

The files appear to be copying over to the new SMB but it fails to apply the NTFS permissions with the following error:

Error 1314: Copying NTFS Security to Destination Directory
A required privilege is not held by the client.

I don’t understand why it is not working and would appreciate anyone’s help to get this resolved. What am I missing? This seems pretty straight forward unless there is a bug in this release I am not aware of.

Thank You.

Sorry just to be clear.

It appears all the files and folders are copying over to the new SMB but the ACL/NTFS Permissions are the ones set in TrueNAS instead of assuming the original NTFS Permissions from the source.

I have tried copying direct from TruNAS to TrueNAS (source and destination) and also copying the files first the the Windows Server then a second copy command fromt here to the new SMB. I always get the same results.

I feel it is some undocumented feature setting required or possibly a TrueNAS bug in this release.

I have even compared settings from the TrueNAS Core Source Server and I do not see anything different.

I am very baffled as to what is going on.

Anyone?

It sounds like the credential that you’re using to copy the files over lacks the privilege to override permissions on files. Maybe try with a domain admin account.

Thank you.

That is what I thought too.

I did use a Domain Admin account to do the copy.

It just does not make any sense why it is not working.

I am going to pivot to a Windows Server VM for holding the data for the time being (and I can Robocopy everything over flawlessly).

At this point there is no real reason/need to have data like this sitting on bare metal.

Our 2 new Storage Servers (Dell R760’s) have 72TB of NvME Storage for our iSCSI’s each. Space is not any issue now for virtualized storage. :sunglasses: