vikram@vikram-Inspiron-N5010:~$ msfconsole /opt/metasploit-framework/lib/rex/logging/sinks/flatfile.rb:21:in 'initialize': Permission denied @ rb_sysopen - /home/vikram/.msf4/logs/framework.log (Errno::EACCES)
from /opt/metasploit-framework/lib/rex/logging/sinks/flatfile.rb:21:in 'new'
from /opt/metasploit-framework/lib/rex/logging/sinks/flatfile.rb:21:in 'initialize'
from /opt/metasploit-framework/lib/msf/base/logging.rb:24:in 'new'
from /opt/metasploit-framework/lib/msf/base/logging.rb:24:in 'init'
from /opt/metasploit-framework/lib/msf/base/simple/framework.rb:111:in 'simplify'
from /opt/metasploit-framework/lib/msf/base/simple/framework.rb:73:in 'create'
from /opt/metasploit-framework/lib/msf/ui/console/driver.rb:74:in 'initialize'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in 'new'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in 'driver'
from /opt/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in 'start'
from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in 'start'
from /usr/local/bin/msfconsole:48:in ''