Method: Inspec::Resources::FileResource#executable?
- Defined in:
- lib/resources/file.rb
#executable?(by_usergroup, by_specific_user) ⇒ Boolean
80 81 82 83 84 85 |
# File 'lib/resources/file.rb', line 80 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 |