Difference between revisions of "Gsutil ls"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
  gsutil ls
 
  gsutil ls
  You are attempting to perform an operation that requires a project id, with none configured. Please re-run [[gsutil config]] and make sure to follow the instructions for finding and entering your default [[project id]].
+
  You are attempting to perform an operation that requires a [[project id]], with none configured. Please re-run [[gsutil config]] and make sure to follow the instructions for finding and entering your default [[project id]].
 
   
 
   
 
  Solution: <code>[[gsutil config -e]]</code>
 
  Solution: <code>[[gsutil config -e]]</code>

Revision as of 10:14, 4 July 2022

gsutil ls gs://yourBucketName/
ServiceException: 401 Anonymous caller does not have storage.objects.list access to the Google Cloud Storage bucket.

Solution: gsutil ls gs://your_bucket_name/
gsutil ls
You are attempting to perform an operation that requires a project id, with none configured. Please re-run gsutil config and make sure to follow the instructions for finding and entering your default project id.

Solution: gsutil config -e
gsutil ls -L

Related

See also

Advertising: