I am using S3FS lib (in node.js app) to upload files to my AWS S3 directory. (referring documentation https://www.npmjs.com/package/s3fs) and stackoverflow answer here
s3fs object init
s3fsImpl = new s3fs(bucketPath, {
accessKeyId: xxxxx,
secretAccessKey: xxxxx,
ACL: 'public-read'
})
method writeFile: s3fsImpl.writeFile(fileName, stream)
file is uploaded successfully and I am getting "ETag" in response. However, uploaded file is not accessible publicly.
How can I give proper ACL permissions to make it accessible for public-read?