POSIX filesystem ACLs LWRPs in a cookbook for Chef
Important restrictions:
- The user and the group attrbute cannot be used at the same time
- If the recursive attribute is set to true than the ACL setting will always run to ensure that all the subdirectories and files are set too
This example uses all the possible attributes with the default values:
posix_acl "/var/lib/foo" do
user 'john'
group ''
read true
write false
execute true
recursive false
default false
end
- Make it fully testable (preferably with Test Kitchen and Serverspec)
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Submit a Pull Request using Github
Authors: Pal David Gergely [email protected]
License: Apache Licence 2.0