Skip to content

Storage: When moving a file, allow keeping old ACL #2274

@SimenB

Description

@SimenB

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

  1. require @google-cloud/storage
  2. Instantiate it, and get a bucket
  3. call const file = await bucket.upload(filePath, { public: true })
  4. Verify file is publicly available from https://storage.googleapis.com/
  5. call file.move(somewhere)
  6. Try to access file from https://storage.googleapis.com/, get 403

What I want is either:

Metadata

Metadata

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions