If you’re migrating data from one domain to another, sometimes you need to retain file and directory permissions.
Let’s assume you’ve recreated users and security groups the way they were. Then you can do the following:
dump all rights to a file (on the old fileserver)
subinacl /noverbose /outputlog=D:\apps_perms.txt /subdirectories d:\apps\*.* /display
replay the file (on the new fileserver)
subinacl /playfile D:\apps_perms.txt