peak / s5cmd

Parallel S3 and local filesystem execution tool.
MIT License
2.68k stars 237 forks source link

cp: write access to source file required #306

Closed throwException closed 3 years ago

throwException commented 3 years ago

Summary The cp operations needs write access to source files

How to reproduce dd if=/dev/urandom of=testfile bs=1M count=4 chmod a-w testfile s5cmd cp testfile s3://testbucket

Expected result Upload works

Actual result ERROR "cp testfile s3://testbucket": open testfile: permission denied

igungor commented 3 years ago

Thanks for the report. Could you try with the master branch? Its fixed with https://github.com/peak/s5cmd/issues/258 but not released yet. We're planning to release it very soon.