This is most obvious when setting permissions on a root level folder such as
D:\Shared. Adding a single ACE on a root level folder is taking several hours
to complete.
This is too slow. Are there any solutions to this issue?
--
**********************
Jacob
"Jacob" <jacob(AT)hfws.net.nospam> wrote in message
news:41D12D83-75DC-41A0...@microsoft.com...
NTFS ACLS are optimized in many cases. Changing a root ACL could cause
the system to have to change the ACL on every folder and file under
that root object. How many objects are in those folders are we talking
about?
Dave
"DaveMo" <david....@gmail.com> wrote in message
news:f8fa66d2-2b54-4047...@w24g2000prd.googlegroups.com...
One thought is that the set of commands you are generating may be
causing multiple iterations through the entire directory structure. I
kind of suspect this is the case. The fix would be to create a set of
commands that minimize the number of iterations. Breaking inheritance
first, for example, might cause things to stop propagating by
themselves. But then you'd have to consider how permissions would get
applied.
As a developer, my approach would be to write my own utility that
would start at the leaf nodes and work my way back to the top. At the
appropriate points I would break inheritance and then apply all of the
needed changes on each object in a single operation.
You might be able to do the same thing with pre-built utilities by
doing in effect the same thing: break inheritance, set the desired
permissions, and then re-enable permissions. This might cause the OS
to propagate all the permissions in a single pass. It might be worth a
try.
HTH,
Dave
"DaveMo" <david....@gmail.com> wrote in message
news:34be6b9e-aaff-4a98...@w24g2000prd.googlegroups.com...