edwardspec / mediawiki-aws-s3

Extension:AWS allows MediaWiki to use Amazon S3 (instead of the local directory) to store images.
https://www.mediawiki.org/wiki/Extension:AWS
GNU General Public License v2.0
42 stars 32 forks source link

Access denied on already uploaded images #62

Closed OAuthority closed 1 year ago

OAuthority commented 1 year ago

Hi,

I've managed to set the extension up, and my bucket, and MediaWiki correctly uploads images to the bucket, and I can view these when I browse to them. I've copied across the images from local storage on my server, but now when I try to view them on my wiki, it shows "Access denied". Any idea what is happening? Confused why new images can be seen (uploaded afterwards), but images uploaded and copied over, using aws cp cannot be accessed?

OAuthority commented 1 year ago

(Disregard this, looks like it defaults to non-publically viewable if using the cp command and you need to pass the --acl param to the command).