We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Recursively change ACL - permissions chmod equivalent?

vRisc
vRisc asked
on
Medium Priority
1,193 Views
Last Modified: 2012-08-14
Hi,
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
Comment
Watch Question

Commented:
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

Commented:
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?

Thanks.
FileACL provides recursive functionality.
http://www.gbordier.com/gbtools/fileacl.htm

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

The user Everyone gets full access and ownership.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
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.

Thanks
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.