/build/static/layout/Breadcrumb_cap_w.png

How to give permissions to folder using CACLS?

Help me with the step by step procedure to set permissions to folder using CACLS?

Does the script varies for every time or it's same for every one to set permissions?

If setting permisions to folder is easy using lock permission table then please let me know the way so that I can use that?

I need to set read/modify/write to folders Config, Data, Resources under C:\Program Files or Program Files (x86)\Deloitte\HERCules allow all users. 

Thanks in advance.


0 Comments   [ + ] Show comments

Answers (4)

Posted by: jagadeish 11 years ago
Red Belt
4

Open command prompt and type

CACLS /?

 

 

CACLS "%ProgramFiles%\Deloitte\HERCules\Config" /T /E /G Users:C

CACLS "%ProgramFiles%\Deloitte\HERCules\Data" /T /E /G Users:C

CACLS "%ProgramFiles%\Deloitte\HERCules\Resources" /T /E /G Users:C

Posted by: piyushnasa 10 years ago
Red Belt
2

There are a lot of different ways as well to give permissions if this does not work for you.

You can have a look here:

http://msiworld.blogspot.com.au/2008/11/different-ways-of-giving-permissions-in.html

Posted by: jaybee96 11 years ago
Red Belt
1

use custom installshield handling... not the traditional lockec permissions

Posted by: anonymous_9363 11 years ago
Red Belt
1

First, your seeming inability to perform basic research remains unchanged after...oooh, what must be it be now, 2 years? It is now beyond irritating.

Second, you seem to have got to this stage in your packaging "career" without building a set of basic tools, the most fundamental of which is called Google.

As for the particular scenario you outline in this post, any packager worthy of the title will have a routine for this situation involving the use of properties whose values are passed to a pre-built script which has been added to their packaging templates.


Comments:
  • This is not the place to make these type of comments. I didn't mentioned your name in order to reply me. You have given 10 lines of answer even though even 1 line didn't helped me. This is not the first time that I have faced this type of situation. If you know the solution just help people with that and if you know and even if you u dnt like to help then dnt to that's it. You are the one every time gives these type of un necessary comments. - vinodreddy10 10 years ago
  • Strangely, I totally disagree. You continue to expect other people to perform the most basic tasks for you and are seemingly unable to conduct even basic research of your own, even after - by your own admission! - having been admonished for that very thing in the past. You take the term "bone idleness" to a new high.

    Even a cursory review of my past posts will show that I am more than willing to help people, provided they have done at least *some* work of their own first and these people - unlike you - seem to learn from that experience. For God's sake - not to mention your poor employer - get yourself on a Windows Installer course! - anonymous_9363 10 years ago
 
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