Method: Inspec::Resources::FileResource#writable?
- Defined in:
- lib/resources/file.rb
#writable?(by_usergroup, by_specific_user) ⇒ Boolean
73 74 75 76 77 78 |
# File 'lib/resources/file.rb', line 73 def writable?(by_usergroup, by_specific_user) return false unless exist? return skip_resource '`writable?` is not supported on your OS yet.' if @perms_provider.nil? ('write', by_usergroup, by_specific_user) end |