I installed S4cmd on my Ec2 Ubuntu instance, but when trying to run it was giving this below
error:-bash: /usr/local/bin/s4cmd: Permission denied
I tried everything like sudo -s, updating pip & everything advised in other questions. But none of them working for me.
As of now, I am using S3cmd. But the PUT requests from EC2 to either DreamObjects or to CenturyLink Object Storage are painfully slow. It was uploading one-by-one. My project demands uploading an extremely large number (over a million) of very small objects.
This quite possibly is not a useful answer, but are you trying to execute the file when it doesn't have permission to be an executable. Go to the
/usr/local/bin/
directory and try the following commandand see if that works...