I tried installing the aws command line tool to run the command
aws
on linux
i tried installing it using pip but I get an error 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?
The output of ls -l /bin/aws
shows:
-rw-r--r--. 1 root root 814 Oct 22 18:09 /bin/aws
Which means you have read/write permissions, but no execute permissions. To fix that, you have to run chmod like this:
chmod 755 /bin/aws
After this the output of ls -l /bin/aws
should show:
-rwxr-xr-x. 1 root root 814 Oct 22 18:09 /bin/aws
The x
means you also have execute permissions now. Also other users will have execute permission. If there are no other limitations, other users can execute it too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With