Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not making the uploaded things public #70

Open
kantaharikrishna opened this issue Dec 16, 2015 · 4 comments
Open

Not making the uploaded things public #70

kantaharikrishna opened this issue Dec 16, 2015 · 4 comments

Comments

@kantaharikrishna
Copy link

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',.

@Starefossen
Copy link
Contributor

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

@kantaharikrishna
Copy link
Author

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
#70 (comment)
.

Thanks,
Harikrishna Kanta

@anthonyringoet
Copy link
Contributor

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

@kantaharikrishna
Copy link
Author

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
#70 (comment)
.

Thanks,
Harikrishna Kanta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants