cookbook 'facl', '~> 0.3.0'
facl (3) Versions 0.3.0 Follow1
Installs/Configures facl
cookbook 'facl', '~> 0.3.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 default ACL
include_recipe 'facl'
facl '/tmp/facl_test_dir' do
user :'' => 'rw-', test_user: 'rwx'
group :'' => 'rw-'
mask :'' => 'rwx'
other :'' => 'r--'
default :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
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC039: Node method cannot be accessed with key: facl/resources/facl.rb:43
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 passed this metric
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC039: Node method cannot be accessed with key: facl/resources/facl.rb:43
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 passed this metric
0.3.0 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 passed this metric
0.3.0 failed this metric
0.3.0 passed this metric