GoogleCloudPlatform / GoogleCloudPlatform/gsutil

Inconsistent results with `gsutil ls`

Open
#1,496 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

I cannot explain why, but when I run `gsutil ls` I get different results for supposedly similar folders
![image](https://user-images.githubusercontent.com/15052188/163012720-f34e970a-a2b6-4978-b3b5-d915f2f9bdc7.png)

In this image, the first folder returns just the children and the second command returns the parent as well. The folders are supposedly the same, so why is this happening?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the two `gsutil ls` commands shown in the issue image and compare their results for supposedly similar folders. Read the `gsutil ls` entry point and related cloud-storage listing behavior; done means explaining the differing output and adding a regression test if the behavior is confirmed as a bug.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.