Skip to content

msfdb:274:in `read': Permission denied @ rb_sysopen - /home/msf_user/.msf4/database.yml (Errno::EACCES) #1

Description

@dekiesel

Hi and thanks for the Dockerfile, exactly what I needed. Building the image worked perfectly, but I couldn't run msfdb init, it would always answer with

msfdb:274:in read': Permission denied @ rb_sysopen - /home/msf_user/.msf4/database.yml (Errno::EACCES)`

To make it work I had to change the owner of the file:

sudo chown 1000:1000 /home/msf_user/.msf4/database.yml

Maybe you can add this to the image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions