目前已經在S3上設計策略只能連線abc這個bucket
連線也沒啥問題
但是我在s3cmd上設定好測試
Test access with supplied credentials? [Y/n] Y
Please wait, attempting to list all buckets...
ERROR: Test failed: 403 (AccessDenied): Access Denied
ERROR: Are you sure your keys have s3:ListAllMyBuckets permissions?
會顯示ListAllMyBuckets權限問題,但是我只需要用到一個bucket,不需要list all
所以我要怎麼修改s3cmd設定指定我要的abc bucket name?
原廠網頁看過最可能的設定是這項
--host-bucket=HOST_BUCKET
DNS-style bucket+hostname:port template for accessing
a bucket (default: %(bucket)s.s3.amazonaws.com)
預設是全部的bucket %(bucket)s.s3.amazonaws.com
不知道怎麼改成指定