trustedsec / social-engineer-toolkit

The Social-Engineer Toolkit (SET) repository from TrustedSec - All new versions of SET will be deployed here.
10.69k stars 2.74k forks source link

Mkdir Cannot create directiory #932

Open Dabzter opened 2 years ago

Dabzter commented 2 years ago

Hey everyone I am running Ubuntu 20.04 GNOME and trying to install certain Kali Linux tools and everything is running smoothly until the Python install.

mkdir: cannot create directory ‘/usr/share/setoolkit/’: Permission denied mkdir: cannot create directory ‘/etc/setoolkit/’: Permission denied cp: target '/usr/share/setoolkit/' is not a directory cp: cannot create regular file '/etc/setoolkit/set.config': No such file or directory [*] Creating launcher for setoolkit... Traceback (most recent call last): File "setup.py", line 15, in filewrite = open("/usr/local/bin/setoolkit", "w") IOError: [Errno 13] Permission denied: '/usr/local/bin/setoolkit'

Not sure how to fix this issue can someone please help?!

rusti4 commented 2 years ago

are you in root? use the sudo cmd.

okih2007 commented 2 years ago

You need to run it in root. I am 99% it's because of that.

kartikkumar989 commented 2 years ago

CLOSE THIS ERROR

samglish commented 2 months ago

The reason for this error is that this folder already exists or you are not allowed to create a folder unless you do it as administrator.