Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

GCP :: gsutil unable to change ACL from CLI

Hi, I am giving following command to change the ACL for my bucket file, but receiving error. 
Is there some mistake?
command execute on bucket level only.

$ gsutil acl ch -u AllUsers:R gs://bucketabc_cli/myfile.pdf

CommandException: "acl" command does not support "file://" URLs. Did you mean to use a gs:// URL?

1 Answers

Solved by putting the bucket + File name with " " as my actual filename include spaces

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?