icacls problem

mikeatasc
mikeatasc used Ask the Experts™
on
the icacls inheritance command does not seem to change subfolders. Does anyone know of a solution?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017

Commented:
Without specifying the command you actually ran, based on your description you did not use the /T option that tells icacls to apply the change on all sub items/folders.
mikeatascPresident

Author

Commented:
I am sorry for the omission and yes I did use the /T option
mikeatascPresident

Author

Commented:
icacls * \inheritance:e /T
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Distinguished Expert 2017

Commented:
I am uncertain what changes you are trying to apply.
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490872(v=technet.10)
Icacls * /e /t /g:



\inheritance:e not sure it is applicable.
Senior Consultant
Awarded 2017
Distinguished Expert 2018
Commented:
Instead of ICACLS use SetACL. You will not regret it
https://helgeklein.com/setacl/
mikeatascPresident

Author

Commented:
worked like a champ! thank you very much

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial