- Let's say i have 2 aws accounts: Account1 and AccountZ
- I installed and configured s3cmd to have access to Account1.
- I created a bucket in AccountZ and made it publicly read/write
- I performed an
s3cmd put
of atext.txt
from Account1 to s3://AccountZ/test.txt - Then, after it uploaded, I tried to copy paste AccountZ/test.txt to a different bucket, and it says that there was an error (
"The following objects were not copied due to errors from: <AccountZ folder>"
). So, I tried to change the permissions to the file, and it says I dont have permissions to do that. - If "upload" a file using the S3 console into AccountZ target directory, that resulting file IS copy/paste-able. So there seems to be an issue with the uploaded file due to the
PUT
- If i change the permissions config of
s3cmd
to be the key/secret of AccountZ, then uploaded file's permissions work just fine and the copy/paste command is successful.
How do I upload/PUT
a file to S3 so that I can then copy/paste the resulting file in the S3 console?