verukins
2007-10-10 11:38:35 UTC
This isnt quite scripting, but scripting people will get what i mean..
I am using the good old "for /f" along with xcacls.vbs to set home
drive and profile permisisons, but have always used it setting all the
way down the tree (ie /s /t) .... as you can imagine this takes a very
long time for large migrations, as it sets permissions on every file
instead of using inhertiance (which is obviously quicker and cleaner)
In the Windows Explorer GUI, i can simply set the permissions at the
top level, and inhertiance will take care of the rest of the tree.
However, if i set the permissions at just the top level using
xcacls.vbs, the permissions dont flow through to the rest of the
structure, even though inhertiance is enabled. (so using the
"inhertitance enabled" fature of xcacls is of no use, as its already
on!)
Im clearly missing something here, there must be a way to set it once
at the top with xcacls and have it flow through cvorrectly - can
anyone assist?
I am using the good old "for /f" along with xcacls.vbs to set home
drive and profile permisisons, but have always used it setting all the
way down the tree (ie /s /t) .... as you can imagine this takes a very
long time for large migrations, as it sets permissions on every file
instead of using inhertiance (which is obviously quicker and cleaner)
In the Windows Explorer GUI, i can simply set the permissions at the
top level, and inhertiance will take care of the rest of the tree.
However, if i set the permissions at just the top level using
xcacls.vbs, the permissions dont flow through to the rest of the
structure, even though inhertiance is enabled. (so using the
"inhertitance enabled" fature of xcacls is of no use, as its already
on!)
Im clearly missing something here, there must be a way to set it once
at the top with xcacls and have it flow through cvorrectly - can
anyone assist?