You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo docker-compose run --rm --service-ports -e MSF_UID=$(id -u) -e MSF_GID=$(id -g) ms
Expected behavior
What should happen?
The metasploit docker should run succesfully
Current behavior
Starting metasploitframework_db_1 ... Starting metasploitframework_db_1 ... doneRails Error: Unable to access log file. Please ensure that /home/msf/.msf4/logs/production.log exists and is writable (ie, make it writable for user and group: chmod 0664 /home/msf/.msf4/logs/production.log). The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.Traceback (most recent call last):ork console...\ 16: from ./msfconsole:17:in `<main>' 15: from /usr/src/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start' 14: from /usr/src/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start' 13: from /usr/src/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `driver' 12: from /usr/src/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `new' 11: from /usr/src/metasploit-framework/lib/msf/ui/console/driver.rb:82:in `initialize' 10: from /usr/src/metasploit-framework/lib/msf/base/simple/framework.rb:75:in `create' 9: from /usr/src/metasploit-framework/lib/msf/base/simple/framework.rb:112:in `simplify' 8: from /usr/src/metasploit-framework/lib/msf/base/config.rb:216:in `init' 7: from /usr/src/metasploit-framework/lib/msf/base/config.rb:393:in `init' 6: from /usr/local/lib/ruby/2.6.0/fileutils.rb:200:in `mkdir_p' 5: from /usr/local/lib/ruby/2.6.0/fileutils.rb:200:in `each' 4: from /usr/local/lib/ruby/2.6.0/fileutils.rb:215:in `block in mkdir_p' 3: from /usr/local/lib/ruby/2.6.0/fileutils.rb:215:in `reverse_each' 2: from /usr/local/lib/ruby/2.6.0/fileutils.rb:217:in `block (2 levels) in mkdir_p' 1: from /usr/local/lib/ruby/2.6.0/fileutils.rb:239:in `fu_mkdir'/usr/local/lib/ruby/2.6.0/fileutils.rb:239:in `mkdir': Permission denied @ dir_s_mkdir - /home/msf/.msf4/logs (Errno::EACCES)
The text was updated successfully, but these errors were encountered:
Steps to reproduce
How'd you do it?
Expected behavior
What should happen?
The metasploit docker should run succesfully
Current behavior
The text was updated successfully, but these errors were encountered: