Exception: Rudy::InsecureKeyPermissions

Inherits:
Error
  • Object
show all
Defined in:
lib/rudy.rb

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Rudy::Error

Instance Method Details

#messageObject



117
118
119
120
121
# File 'lib/rudy.rb', line 117

def message
  lines = ["Insecure file permissions for #{@obj}"]
  lines << "Try: chmod 600 #{@obj}"
  lines.join($/)
end