Has anyone ever ajusted NTFS permissions to a dir using a command line? I'm using NSIS and I need to assign a group full access to a folder.

Thanks for the help
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Wildhair,

I have tried that and this is the error that I'm getting.

type this
xcacls.exe c:\filename /E /T /G %Domain%\%Group%:CF

get this
ERROR: One or More arguments are not correct.

Do you have any suggestions?

Thanks
Answered 02/20/2006 by: Rhowar02
Yellow Belt

Please log in to comment
0
Thanks for your help I fixed it. I did not add guotes around the %domain%\%group% and that fixed the error ( the group name has spaces in it)

Thanks
Answered 02/20/2006 by: Rhowar02
Yellow Belt

Please log in to comment
0
You could alternatively use setacl.exe. Go to http://setacl.sourceforge.net for download and a full guide on how to use it.
Answered 02/21/2006 by: tupham
Senior Yellow Belt

Please log in to comment
0
I always creates an *.inf file, with the mmc, and uses this custom action:
secedit.exe /configure /db ACROPRO /cfg C:\Windows\Security\Templates\applicationname.inf /areas REGKEYS FILESTORE /quiet
Answered 02/23/2006 by: fetgor
Senior Purple Belt

Please log in to comment
0
secedit.exe /configure /db APPLICATIONNAME /cfg C:\Windows\Security\Templates\applicationname.inf /areas REGKEYS FILESTORE /quiet
is the correct string.
Answered 02/23/2006 by: fetgor
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity