Recursively change ACL - permissions chmod equivalent?

Posted on 2006-03-21
Last Modified: 2012-08-14
I moved files to a new computer, and all permissions are broken.

I got the chown utility and changed the owner for all files, but the ACL's are screwed up.

The files I'm trying to recover date since 1992, and have been on many computers since then and now. User names changed, etc. For most files Win XP didn't even know who was the owner...

How do I give permissions to my users recursively. It's 20Gigs of important research data. I need to be able to use it.

cacl's /T only applies to its children, and does not follow the expected recursive functionality.

please, help. Maybe there's a third party tool I can use?

Thank you
Question by:vRisc
    LVL 11

    Expert Comment

    Once the ACLs are gone, they're gone - but you can re-create them if you want - simply go into security>>>advanced>>>add the users and permissions, then allow child permissions to be inherited.

    Author Comment

    ecsrd, that doesn't work.

    according to microsoft, the cacls and xcacls tools fall short when it comes to recursivity. they only aply the settings to their children only.

    I think  I need a batch file to execute this recursively.
    anyone's got any ideas?

    LVL 8

    Accepted Solution

    FileACL provides recursive functionality.

    For example:
    fileacl.exe D:\Data /S Everyone:F /O Everyone:F /force /sub /files

    The user Everyone gets full access and ownership.

    Author Comment

    Hey, seemed it worked.

    I'm trying to figure out how to give the parent directory a set of permissions, and have everyone inherit it.
    Any help with this would be wonderful.


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
    It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now