Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I change permissions for the folder including subfolders?

share|improve this question

2 Answers

up vote 5 down vote accepted

If you don't want to do this from the GUI, you could use the command line program cacls using the /T option.

(or use icacls which is the new version of cacls).

If you want to use the GUI, right-click the folder, choose properties, then click the security tab. Click Advanced, then click Change Permissions. Add the user/group you want to give permissions to (and select the permissions you want to give), then check the box that says "Replace all child object permissions with inheritable permissions from this object".

share|improve this answer
Can I do this from the GUI? I couldn't find such option. – Sergey Sep 30 '10 at 10:52
1  
@Sergey - I've added instructions for the GUI method. Hope this helps. – misterjaytee Sep 30 '10 at 10:59
Thank you, it works! You finished a lot of painful hours of trying! – Sergey Sep 30 '10 at 11:45

Simply Use :

ICACLS "PATH OF DIRECTORY (FOLDER)" /grant "USER":F /T

In Following example I am setting permission for Everyone to all sub-folders/files of a folder named Hardik in my D drive. then my cmd code would be like this,

ICACLS "D:\Hardik\*" /grant "Everyone":F /T

For more details please visit this link..

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.