We help IT Professionals succeed at work.
Get Started

Re-apply ACL to share/folder

820 Views
Last Modified: 2013-11-26
I'm performing a file scan and collecting information from all of a server's shares into a report file.
Running into trouble when something is amiss with permissions, requiring me to often take ownership and re-push the permissions down the tree (nothing's changing, just re-applying the inheritance).
Is there a way to automate this, so that my code can accomodate those scenarios, rather than announcing them so I have to perform the cleanup manually and rerun the report?  Servers are all Windows 2003
I'm not opposed to command-line tools in a shell process, but would prefer they be native.
Comment
Watch Question
PowerShell Developer
CERTIFIED EXPERT
Top Expert 2010
Commented:
This problem has been solved!
Unlock 1 Answer and 22 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE