I am trying to install aws command line tool

I tried installing the aws command line tool to run the command

aws

in linux

I tried installing it using pip, but I get the error message http://docs.aws.amazon.com/cli/latest/userguide/installing.html#install-bundle-other-os

/bin/aws: Permission denied

whenever i run the command

aws help 

what should I do?

+4
source share
1 answer

The output ls -l /bin/awsshows:

-rw-r--r--. 1 root root 814 Oct 22 18:09 /bin/aws

This means that you have read / write permissions but no execute permissions. To fix this, you should run chmod as follows:

chmod 755 /bin/aws

After that, the output ls -l /bin/awsshould show:

-rwxr-xr-x. 1 root root 814 Oct 22 18:09 /bin/aws

x , . . , .

+4

Source: https://habr.com/ru/post/1612812/


All Articles