-
Hi there,
I need to achieve the same thing. I can't figure this out either; did you manage to get anywhere?
Thanks, John.
2009-10-26 09:41:19 UTC by m900349
-
What's with the " lines here?
It's supposed to say
strSourceSetAdminRights = "%comspec% /c C:\CustomScripts\setacl.exe -On """ & strSource & """ -ot file -actn setprot -op ""dacl:np;sacl:nc"" -rec cont_obj -actn setowner -ownr...
2009-10-02 06:33:42 UTC by raziel014
-
Hi, I'm using setacl as part of a script routine where the script first fires off setacl to set an administrator as owner and rights on all folders and subfolders. But somehow, it fails sometimes on some folders and thus the rest of the script fails.
So the line looks like this via vbscript:
strSourceSetAdminRights = "%comspec% /c C:\CustomScripts\setacl.exe -On...
2009-10-02 06:32:37 UTC by raziel014
-
On server 2, if you look at the security tab under advanced, I think you will see that "Inherit from parent" is checked. The extra permissions are from C:\ flowing down into C:\testdir.
2009-09-22 15:53:58 UTC by evolution_hero
-
Hello,
I have two Windows 2003 server. The servers have the same Users and Permissions on folder c:\TestDir
I've executed this command and I've obtained two different result
SetACL.exe -on "c:\TestDir" -ot file -actn list -lst "f:tab;w:d,s,o,g" -rec cont -bckp "C:\SetAcl\TestDir.txt"...
2009-09-22 15:42:14 UTC by ricifede
-
no joy. i just wish there was a way to edit or delete my own post in this forum.
2009-09-19 18:39:29 UTC by koolezt
-
within code?`\"`.
2009-09-19 18:38:31 UTC by koolezt
-
perhaps i can escape the \".
2009-09-19 18:37:25 UTC by koolezt
-
Let me try to re-code that without distraction:`SetACL.exe ... -ace "... ;i:so,sc,io; ..."`
- I don't know why the forum engine turned " into " as it all appears fine in the preview of this post.
- The ** s were meant to surround **bold** text. It seems that fails within code.
2009-09-19 18:35:50 UTC by koolezt
-
looks like you need *io* within the inheritance, for inherit-only, as in`SetACL.exe ... -ace " ... ;i:so,sc,**io**; ..."`.
2009-09-19 18:20:47 UTC by koolezt