amazon web services - s4cmd sync two buckets access denied -
i trying sync 2 s3 buckets:
s4cmd --dry-run sync s3://cgl-rnaseq-recompute-fixed/gtex s3://rnaseq.toil.20k/gtex but getting following error:
[exception] error occurred (accessdenied) when calling listobjects operation: access denied [thread failure] error occurred (accessdenied) when calling listobjects operation: access denied the source bucket publicly available. second bucket mine , have access it:
[centos@ip-172-30-3-12 data]$ s4cmd ls s3://rnaseq.toil.20k/ dir s3://rnaseq.toil.20k/gtex/ dir s3://rnaseq.toil.20k/pnoc/ dir s3://rnaseq.toil.20k/target/ dir s3://rnaseq.toil.20k/tcga/ also cannot ls on source bucket using s4cmd can using s3cmd:
[centos@ip-172-30-3-12 data]$ s4cmd ls s3://cgl-rnaseq-recompute-fixed/gtex [exception] error occurred (accessdenied) when calling listobjects operation: access denied [thread failure] error occurred (accessdenied) when calling listobjects operation: access denied [centos@ip-172-30-3-12 data]$ s3cmd ls --requester-pays s3://cgl-rnaseq-recompute-fixed/gtex dir s3://cgl-rnaseq-recompute-fixed/gtex/ 2016-06-03 17:02 435553 s3://cgl-rnaseq-recompute-fixed/gtex-manifest what going wrong? suggestions appreciated.
to achieve s3cmd behavior, use wildcards:
s4cmd sync s3://bucket/path/dira/* s3://bucket/path/dirb/ note s4cmd doesn't support dira without trailing slash indicating dira/* rsync supported.
so in case have use.
s4cmd --dry-run sync s3://cgl-rnaseq-recompute-fixed/gtex/* s3://rnaseq.toil.20k/gtex check documentation s4cmd helpful.
nice thanks for sharing......................!
ReplyDeleteDynamic CRM online training
Informatica Data Quality online training
Informatica idq online training
Informatica mdm online training
Informatica message Queue online training
Informatica power center online training
Manual Testing online training
Microservices online training
Office 365 online training
Open stack online training
Thanks for sharing nice article..
ReplyDeleteonline training in python
online training on python