I'm experience an odd behavior with iCACLS. I restore the same permissions to two folders within the same directory but get different results. After I perform the restore, the permissions as seen in the properties window appear identical, however, i then backup the permissions using icacls and get a different result for each folder. The difference between them is that one folder has the term "S:AINO_ACCESS_CONTROL" added to the end of it and the other doesn't. What does this term mean?
First I run this command to restore the permissions with the text below being in the text file - "icacls e:\ /restore ntfsperms.txt"
Folder\SubFolder1
D:AI(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-3317)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-500)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-6686)(A;OICIID;0x1200a9;;;AU)
Folder\SubFolder2
D:AI(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-3317)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-500)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-6686)(A;OICIID;0x1200a9;;;AU)
Second I run this command to save the permissions with the result below- "icacls e:\Folder /save ntfsperms.txt /t /c
SubFolder1
D:AI(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-3317)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-500)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-6686)(A;OICIID;0x1200a9;;;AU)S:AINO_ACCESS_CONTROL
SubFolder2
D:AI(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-3317)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-500)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-6686)(A;OICIID;0x1200a9;;;AU)