cookbook 'facl', '= 0.1.0'
facl (3) Versions 0.1.0 Follow1
Installs/Configures facl
cookbook 'facl', '= 0.1.0', :supermarket
knife supermarket install facl
knife supermarket download facl
facl
Cookbook used to setup POSIX filesystem ACL's on Linux.
Examples
Individual file
include_recipe 'facl'
facl '/tmp/facl_test' do
user :'' => 'rw',
test_user: 'rwx'
group :'' => 'rw'
mask :'' => 'rwx'
other :'' => 'r'
end
Directory
include_recipe 'facl'
facl '/tmp/facl_test_dir' do
user :'' => 'rw',
test_user: 'rwx'
group :'' => 'rw'
mask :'' => 'rwx'
other :'' => 'r'
end
Directory, recursive
include_recipe 'facl'
['/tmp/test','/tmp/test/recursion','/tmp/test/recursion/for','/tmp/test/recursion/for/module'].each do |k|
directory k
end
facl '/tmp/test' do
user :'' => 'rw',
test_user: 'rwx'
group :'' => 'rw'
mask :'' => 'rwx'
other :'' => 'r'
recurse true
end
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
License Metric
0.1.0 passed this metric
0.1.0 passed this metric