/build/static/layout/Breadcrumb_cap_w.png

Adding permission to a dir

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

Answers (5)

Posted by: Rhowar02 18 years ago
Yellow Belt
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
Posted by: Rhowar02 18 years ago
Yellow Belt
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
Posted by: tupham 18 years ago
Senior Yellow Belt
0
You could alternatively use setacl.exe. Go to http://setacl.sourceforge.net for download and a full guide on how to use it.
Posted by: fetgor 18 years ago
Senior Purple Belt
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
Posted by: fetgor 18 years ago
Senior Purple Belt
0
secedit.exe /configure /db APPLICATIONNAME /cfg C:\Windows\Security\Templates\applicationname.inf /areas REGKEYS FILESTORE /quiet
is the correct string.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ