Method: Inspec::Resources::FileResource#executable?
- Defined in:
- lib/inspec/resources/file.rb
#executable?(by_usergroup, by_specific_user) ⇒ Boolean
82 83 84 85 86 87 |
# File 'lib/inspec/resources/file.rb', line 82 def executable?(by_usergroup, by_specific_user) return false unless exist? return skip_resource "`executable?` is not supported on your OS yet." if @perms_provider.nil? ("execute", by_usergroup, by_specific_user) end |