nshr nshr - 4 months ago 73
Linux Question

mkdir: cannot create directory ‘/usr/local/etc/reaver’: Permission denied

I am trying to install

reaver
and I am stuck at a point were it says to
install make
.

When I enter command
make install
the following message appears:

rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh
if [ ! -d /usr/local/etc/reaver ];
then
mkdir -p /usr/local/etc/reaver;
fi



mkdir: cannot create directory ‘/usr/local/etc/reaver’: Permission denied
Makefile:88: recipe for target 'install' failed
make: *** [install] Error 1


How can i solve this?

Answer

Check whether your user has permission on that path. OR try with root user(not recommended) OR try with sudo make install