chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

Chef::FileAccessControl::Windows#acls_equal

Compare the actual ACL on a resource with the ACL we want.  This
ignores explicit ACLs on the target, and does mask prediction (if you
set GENERIC_WRITE, Windows will flip on a whole bunch of other rights
on the file when you save the ACL)

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/file_access_control/windows.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--FileAccessControl--Windows-acls_equal-for-pr


# Commit to git

git add lib/chef/file_access_control/windows.rbgit commit -m "better docs for Chef::FileAccessControl::Windows#acls_equal"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--FileAccessControl--Windows-acls_equal-for-pr

hub pull-request


# Celebrate!