node-s3-uploader icon indicating copy to clipboard operation
node-s3-uploader copied to clipboard

Not making the uploaded things public

Open kantaharikrishna opened this issue 8 years ago • 4 comments

I have followed this below link: https://github.com/Turistforeningen/node-s3-uploader/blob/stable/0.x/README.md

OS: Windows 7, 32-bit Node: 0.12.0 Imagemagick: 6.9.0 [email protected]

My issue is the uploaded image is not having the public read though I have given awsBucketAcl: 'public-read',.

kantaharikrishna avatar Dec 16 '15 06:12 kantaharikrishna

Hi @kantaharikrishna, please take a look at this example configuration: https://github.com/Turistforeningen/node-s3-uploader/blob/stable/0.x/README.md#example

Starefossen avatar Dec 16 '15 20:12 Starefossen

One concern, Its not making the uploaded thing as 'public-read'

On Thu, Dec 17, 2015 at 2:07 AM, Hans Kristian Flaatten < [email protected]> wrote:

Hi @kantaharikrishna https://github.com/kantaharikrishna, please take a look at this example configuration: https://github.com/Turistforeningen/node-s3-uploader/blob/stable/0.x/README.md#example

— Reply to this email directly or view it on GitHub https://github.com/Turistforeningen/node-s3-uploader/issues/70#issuecomment-165231830 .

Thanks, Harikrishna Kanta

kantaharikrishna avatar Dec 18 '15 10:12 kantaharikrishna

@kantaharikrishna Please provide the code you are using (with the exact same parameters) or provide an isolated example (github gist, tonic dev,…).

anthonyringoet avatar Dec 18 '15 11:12 anthonyringoet

As per my investigation:

[email protected]:* It's making the uploads as public*

var client = new Upload('bucket_name', { aws:{ region: 'us-east-1', path: 'images/' acl: 'public-read' }, versions: [{ original: true },{ suffix: '-small', maxHeight: 320, maxWidth: 320 } }] });

[email protected]: It's not making the uploads as public

var client = new Upload('bucket_name', { awsBucketRegion: 'us-east-1', awsBucketPath: 'images/', awsBucketAcl: 'public-read',

versions: [{ original: true },{ suffix: '-small', maxHeight: 320, maxWidth: 320 } }] });

On Fri, Dec 18, 2015 at 5:16 PM, Anthony Ringoet [email protected] wrote:

@kantaharikrishna https://github.com/kantaharikrishna Please provide the code you are using (with the exact same parameters) or provide an isolated example (github gist, tonic dev,…).

— Reply to this email directly or view it on GitHub https://github.com/Turistforeningen/node-s3-uploader/issues/70#issuecomment-165759568 .

Thanks, Harikrishna Kanta

kantaharikrishna avatar Dec 18 '15 11:12 kantaharikrishna