Glam Prestige Journal

Bright entertainment trends with youth appeal.

I am following this guide.

I am doing this:

cd /opt
git clone
cd metasploit-framework

When I am doing :

git clone 

I am getting the following error :

fatal: could not create work tree dir 'metasploit-framework'.: Permission denied
1

2 Answers

You are trying to git clone into the /opt directory and don't have privileges.

Use:

sudo git clone 

Alternately git clone into your home directory then if you need to make the executable or install just invoke your superuser privileges then with sudo.

Run the following in the terminal to open a new terminal session as root, so that you get permission to run the commands:

sudo su

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy