-
Notifications
You must be signed in to change notification settings - Fork 391
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the googleapis/nodejs-storage API.Issues related to the googleapis/nodejs-storage API.help wantedWe'd love to have community involvement on this issue.We'd love to have community involvement on this issue.triage meI really want to be triaged.I really want to be triaged.
Description
From @SimenB on May 3, 2017 13:59
Environment details
- OS: macOS
- Node.js version: 6.10.2
- npm version: yarn 0.23.3
- google-cloud-node version:
@google-cloud/storage@1.1.0
Steps to reproduce
- require
@google-cloud/storage - Instantiate it, and get a
bucket - call
const file = await bucket.upload(filePath, { public: true }) - Verify file is publicly available from https://storage.googleapis.com/
- call
file.move(somewhere) - Try to access file from https://storage.googleapis.com/, get 403
What I want is either:
- some way to pass equivalent of
gsutil mv -pflag, which "Causes ACLs to be preserved when copying in the cloud."file.move(newName, { keepAcl: true })or something like that- https://cloud.google.com/storage/docs/gsutil/commands/cp#options
- allow me to pass
destinationPredefinedAclto themovemethod
Copied from original issue: googleapis/google-cloud-node#2274
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the googleapis/nodejs-storage API.Issues related to the googleapis/nodejs-storage API.help wantedWe'd love to have community involvement on this issue.We'd love to have community involvement on this issue.triage meI really want to be triaged.I really want to be triaged.