-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.
Description
Hi guys
I think I might have stumbled on a bug. I am running a nodejs server using the gcloud version 0.16.0. When I upload a file and access said file through the URL:
https://storage.googleapis.com/bucketID/fileID
I get a 403 status saying I dont have permission. Which is correct. So in node, I call
file.makePublic(function(err, api){})
and when I access the URL now it gives me a 200 code - so far so good.
If however I want to revert the file back to private:
file.makePrivate(function(err){})
The function goes through fine - there are no errors - however the object remains publicly available. The http code is still 200. Is this a bug or have I done something wrong here?
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.