- Joined
- Mar 6, 2014
- Messages
- 9,553
I got annoyed that I didn't have a tool that could clone an ACL on a directory and push it down to all subdirectories / files and apply the proper inheritance flags.... So I wrote a script to do it for me. I only did minimal testing (I wrote it this morning before going to work)... so definitely try it out on your production data. :D
https://github.com/anodos325/cloneacl.py/blob/master/cloneacl.py
Feel free to criticize it. It's basically the first real python script I've ever written.
https://github.com/anodos325/cloneacl.py/blob/master/cloneacl.py
Feel free to criticize it. It's basically the first real python script I've ever written.