S4cmd giving permission denied error

709 views Asked by At

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.

1

There are 1 answers

3
A. N. Other On

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 command

chmod +x s4cmd

and see if that works...