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!!
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
[ - ] Hide Comments

so that the conversation will remain readable.
Answer this question
or Comment on this question for clarity
Answers
-
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
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.
. 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.
Please log in to comment
Comments