This is what I\'m seeing:
mvn
bash: /usr/local/apache-maven/apache-maven-3.1.1/bin/mvn: Permission denied
my bash file:
if
sudo chmod 777 <mvn location>
fixed it. Man I suck at linux :P
Your permission shows that you can't execute that file. Modify permissions for that file. If you want all the users in the machine should be able to execute that file, then do this :
chmod a+x /usr/local/apache-maven/apache-maven-3.1.1/bin/mvn
/usr/local/apache-maven/apache-maven-3.1.1/bin/mvn
does not have the execute permission. This should be able to fix it:
chmod a+x /usr/local/apache-maven/apache-maven-3.1.1/bin/mvn