Method: Inspec::Resources::FileResource#readable?
- Defined in:
- lib/inspec/resources/file.rb
#readable?(by_usergroup, by_specific_user) ⇒ Boolean
68 69 70 71 72 73 |
# File 'lib/inspec/resources/file.rb', line 68 def readable?(by_usergroup, by_specific_user) return false unless exist? return skip_resource "`readable?` is not supported on your OS yet." if @perms_provider.nil? ("read", by_usergroup, by_specific_user) end |