Arend_
MM club member
   
Registered: 2005-01-17
Posts: 1896
Loc: Hilversum, The Netherlands
|
Thx Shawn 
Story so far: 1. The code itself is sound, although a W.I.P. function, The ace's attibutes are currently set so FOLDER permissios are (attemptingly) correctly set. I'll worry about FIle and Registry perms later. 2. The problem resides in the Ace Flags, they are correctly done on the local computer (even if you called it like "\\MyPc\share$\folder) on which you execute the script, but on a remote computer in the same domain the inheritance is wrong. 3. Apparantly extensive knowledge of Ace Flags are needed, if you test this code and you are trying to get this to work, my advice is to UN register AdsSecurity.dll if you have it registered to avoid conflicts. 4. If this is resolved we could have the first fully working UDF for NTFS Security scripting
|