XCP will keep the file/folder permissions from the system you are running: that means it will migrate only NT permissions when ran from Windows and only UNIX permission when ran from Linux. This is due by operating systems limitations. If your source contains objects with both types of permissions and is also stored on an ONTAP system, Snapmirror will be able to make a copy of the volume while preserving all kinds of filesystem permissions.
One more, customer have old 7mode as below, it want to migrate to new NetApp.
- /vol/vol1/q1 with NTFS security and NT permission
- CIFS share /vol/vol1/q1
- NFS export /vol/vol1/q1
- old 7Mode /etc/passwd insert account user1
- /etc/usermap.cfg insert ntuser1 <= user1, it would be all unix account user1 map to NT ntuser1
- new NetApp create same UNIX user and user mapping
I try use secure copy migrate data to new NetApp, NT permission same as old 7Mode, but after unix client mount new NetApp qtree, ls -l permission did not same as old 7Mode, could XCP migrate with no problem? If yes, should refer manual "Migrate CIFS Data with ACLs from a Source Storage Box to ONTAP"?
If you need to do 7-mode -> / ONTAP 9 migration then I would suggest you look into the 7-Mode Transition Tool, please beware if you're running 9.6 or 9.7 to be in one of the most recent P-releases for it to be supported.