-
Notifications
You must be signed in to change notification settings - Fork 640
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.
Description
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
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.