关于我的存储桶和对象的信息
s3cmd info s3://$BUCKET/
s3://$BUCKET/ (bucket):
Location: eu-central-1
Payer: BucketOwner
Expiration Rule: all objects in this bucket will expire in '
policy: none
cors: none
ACL: 76b81345345erfrefge473b9c6ac3c7238ceab39fddef698645c5076a41: FULL_CONTROL
s3cmd info s3://$BUCKET/$DIR/$FILE
s3://$BUCKET/$DIR/$FILE (object):
File size: 21927
Last mod: Tue, 21 Jun 2016 08:41:03 GMT
MIME type: binary/octet-stream
Storage: GLACIER
MD5 sum: f55ff37a27b83c96b8a492d3d3dbb904
SSE: none
policy: none
cors: none
ACL: 76b81e6138c136e4c7e42d75773sferwf4345egrb39fddef698645c5076a41: FULL_CONTROL
x-amz-meta-s3cmd-attrs: uid:503/gname:staff/uname:john/gid:20/mode:33261/mtime:1311191701/atime:1466282917/md5:f55ff37a27b83c96b8a492d3d3dbb904/ctime:1436192978
x-amz-meta-s3tools-gpgenc: gpg
从冰川恢复:
> s3cmd restore s3://$BUCKET/$DIR/$FILE
restore: 's3://$BUCKET/$DIR/$FILE'
最后将对象下载到我的桌面
> s3cmd get s3://$BUCKET/$DIR/$FILE /Users/john/Desktop/
download: 's3://$BUCKET/$DIR/$FILE' -> '/Users/john/Desktop/$FILE’ [1 of 1]
ERROR: S3 error: 403 (Forbidden)
我收到 403。我使用与两个月前上传相同的凭据进行下载。