Exception: Rudy::InsecureKeyPermissions

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

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Rudy::Error

Instance Method Details

#messageObject



8
9
10
11
12
# File 'lib/rudy/exceptions.rb', line 8

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