cookbook 'facl', '~> 0.2.0', :supermarket
facl (2) Versions 0.2.0 Follow1
Installs/Configures facl
cookbook 'facl', '~> 0.2.0'
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
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.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.2.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.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Publish Metric
0.2.0 passed this metric
Supported Platforms Metric
0.2.0 passed this metric
Testing File Metric
0.2.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.2.0 passed this metric
0.2.0 failed this metric
0.2.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.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Publish Metric
0.2.0 passed this metric
Supported Platforms Metric
0.2.0 passed this metric
Testing File Metric
0.2.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.2.0 passed this metric
0.2.0 passed this metric
0.2.0 passed this metric
Publish Metric
0.2.0 passed this metric
Supported Platforms Metric
0.2.0 passed this metric
Testing File Metric
0.2.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.2.0 passed this metric
0.2.0 passed this metric
0.2.0 passed this metric
Testing File Metric
0.2.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.2.0 passed this metric
0.2.0 failed this metric
0.2.0 passed this metric