ACL error
We’re getting this Exception
This access control list is not in canonical form and therefore cannot be modified.
From this block of code,
DirectoryInfodInfo =newDirectoryInfo(directory);
DirectorySecuritydSecurity =dInfo.GetAccessControl();
dSecurity.AddAccessRule(newFileSystemAccessRule(identity,rights,InheritanceFlags.ContainerInherit |InheritanceFlags.ObjectInherit,PropagationFlags.None,AccessControlType.Allow ) );
dInfo.SetAccessControl(dSecurity);
On one of out test machines,
Identity = "Users"
Googleing it said something about Sysinternals NewSid command, and we treid getting the latest and rerunning it,
But we still get the error.
Can anyone help me to understand the error?
Even a good lead on where to search would be helpful.
Thanks,
Cal-

