/build/static/layout/Breadcrumb_cap_w.png

Permission problems on C:\ with SetACL

Hallo there!
I have a problem with SetACL. I'm trying to set permissions for user at c:\, the syntax I'm using is:
SetACL.exe -on "C:" -ot file -actn ace -ace "n:user;p:Read_ex" but nothing happendes to the permissions.
When I'm doing it for exampla o´n C:\peogram files it works allright. Any ideas someone?
Thanks!!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: flo 16 years ago
Senior Yellow Belt
0
Your example will not work. Try something like that:

SetACL.exe -on "C:\\" -ot file -actn ace -ace "n:S-1-5-32-545;p:add_file;s:y;m:grant;i:np"
Processing ACL of: <\\?\C:\>
SetACL finished successfully.


cu Flo
Posted by: AngelD 16 years ago
Red Belt
0
Why not make the users local admin as that would produce similar result.
Try to find out what exactly you need to open up.

Comments:
  • I would like to know, why you wish to give permission to complete systemDrive, unless you have a locked down environment. If SetACL is failing, did u try it out with Cacls.exe which comes inbuilt in windows - talonsprem87 11 years ago
Posted by: anonymous_9363 16 years ago
Red Belt
0
The problem is that SetACL must be passed a full path, not a drive letter:

. SetACL.exe -on "C:\" -ot file -actn ace -ace "n:user;p:Read_ex"

However, I, like Kim (AngelD), am confused about how your users don't already have ReadExecute rights on the root of C:. You need to tread carefully here. I suggest some reading on Windows permissions would be a good starting point.
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